Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
config BR2_PACKAGE_PKGCONF
|
||||
bool "pkgconf"
|
||||
help
|
||||
pkgconf is a program which helps to configure compiler and linker
|
||||
flags for development frameworks. It is similar to pkg-config,
|
||||
but was written from scratch in the summer of 2011 to replace
|
||||
pkg-config, which now needs itself to build itself
|
||||
pkgconf is a program which helps to configure compiler and
|
||||
linker flags for development frameworks. It is similar to
|
||||
pkg-config, but was written from scratch in the summer of
|
||||
2011 to replace pkg-config, which now needs itself to build
|
||||
itself
|
||||
|
||||
https://github.com/pkgconf/pkgconf
|
||||
|
||||
10
bsp/buildroot/package/pkgconf/Config.in.host
Normal file
10
bsp/buildroot/package/pkgconf/Config.in.host
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_HOST_PKGCONF
|
||||
bool "host pkgconf"
|
||||
help
|
||||
pkgconf is a program which helps to configure compiler and
|
||||
linker flags for development frameworks. It is similar to
|
||||
pkg-config, but was written from scratch in the summer of
|
||||
2011 to replace pkg-config, which now needs itself to build
|
||||
itself
|
||||
|
||||
https://github.com/pkgconf/pkgconf
|
||||
@@ -1,2 +1,5 @@
|
||||
#!/bin/sh
|
||||
PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-@PKG_CONFIG_LIBDIR@} PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR:-@STAGING_DIR@} $(dirname $0)/pkgconf @STATIC@ $@
|
||||
PKGCONFDIR=$(dirname $0)
|
||||
DEFAULT_PKG_CONFIG_LIBDIR=${PKGCONFDIR}/../@STAGING_SUBDIR@/usr/lib/pkgconfig:${PKGCONFDIR}/../@STAGING_SUBDIR@/usr/share/pkgconfig
|
||||
DEFAULT_PKG_CONFIG_SYSROOT_DIR=${PKGCONFDIR}/../@STAGING_SUBDIR@
|
||||
PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-${DEFAULT_PKG_CONFIG_LIBDIR}} PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR:-${DEFAULT_PKG_CONFIG_SYSROOT_DIR}} exec ${PKGCONFDIR}/pkgconf @STATIC@ "$@"
|
||||
|
||||
@@ -10,7 +10,7 @@ PKGCONF_SOURCE = pkgconf-$(PKGCONF_VERSION).tar.bz2
|
||||
PKGCONF_LICENSE = pkgconf license
|
||||
PKGCONF_LICENSE_FILES = COPYING
|
||||
|
||||
PKG_CONFIG_HOST_BINARY = $(HOST_DIR)/usr/bin/pkg-config
|
||||
PKG_CONFIG_HOST_BINARY = $(HOST_DIR)/bin/pkg-config
|
||||
|
||||
define PKGCONF_LINK_PKGCONFIG
|
||||
ln -sf pkgconf $(TARGET_DIR)/usr/bin/pkg-config
|
||||
@@ -18,18 +18,17 @@ endef
|
||||
|
||||
define HOST_PKGCONF_INSTALL_WRAPPER
|
||||
$(INSTALL) -m 0755 -D package/pkgconf/pkg-config.in \
|
||||
$(HOST_DIR)/usr/bin/pkg-config
|
||||
$(SED) 's,@PKG_CONFIG_LIBDIR@,$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig,' \
|
||||
-e 's,@STAGING_DIR@,$(STAGING_DIR),' \
|
||||
$(HOST_DIR)/usr/bin/pkg-config
|
||||
$(HOST_DIR)/bin/pkg-config
|
||||
$(SED) 's,@STAGING_SUBDIR@,$(STAGING_SUBDIR),g' \
|
||||
$(HOST_DIR)/bin/pkg-config
|
||||
endef
|
||||
|
||||
define HOST_PKGCONF_STATIC
|
||||
$(SED) 's,@STATIC@,--static,' $(HOST_DIR)/usr/bin/pkg-config
|
||||
$(SED) 's,@STATIC@,--static,' $(HOST_DIR)/bin/pkg-config
|
||||
endef
|
||||
|
||||
define HOST_PKGCONF_SHARED
|
||||
$(SED) 's,@STATIC@,,' $(HOST_DIR)/usr/bin/pkg-config
|
||||
$(SED) 's,@STATIC@,,' $(HOST_DIR)/bin/pkg-config
|
||||
endef
|
||||
|
||||
PKGCONF_POST_INSTALL_TARGET_HOOKS += PKGCONF_LINK_PKGCONFIG
|
||||
|
||||
Reference in New Issue
Block a user