diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-05-01 12:18:39 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-05-01 12:18:39 +0200 |
commit | 88e4d68ddef75c37fde403fbafed57f031cef252 (patch) | |
tree | dd31259984eec02d5d45b8e126decfd59019d711 /Makefile | |
parent | 0c61e796a6a1671afe1e0fa9891163129ef8fc62 (diff) | |
download | embtoolkit-88e4d68ddef75c37fde403fbafed57f031cef252.tar.gz embtoolkit-88e4d68ddef75c37fde403fbafed57f031cef252.tar.bz2 embtoolkit-88e4d68ddef75c37fde403fbafed57f031cef252.tar.xz |
Build system: set PKG_CONFIG_PATH for menuconfig and xconfig
This avoids use of PKG_CONFIG_PATH set for target.
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -80,23 +80,30 @@ All: $(EMBTK_BUILD) xconfig: basic ifeq ($(CONFIG_EMBTK_DOTCONFIG),y) - $(Q)make -f scripts/Makefile.build obj=scripts/kconfig xconfig + $(Q)PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ + make -f scripts/Makefile.build obj=scripts/kconfig xconfig else @if [ -e $(EMBTK_ROOT)/.config.old ]; then \ cp $(EMBTK_ROOT)/.config.old $(EMBTK_ROOT)/.config; \ + PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ make -f scripts/Makefile.build obj=scripts/kconfig xconfig; \ else \ + PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ make -f scripts/Makefile.build obj=scripts/kconfig xconfig; \ fi endif menuconfig: basic - $(Q)make -f scripts/Makefile.build obj=scripts/kconfig menuconfig + $(Q)PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ + make -f scripts/Makefile.build obj=scripts/kconfig menuconfig + randconfig: basic - $(Q)make -f scripts/Makefile.build obj=scripts/kconfig randconfig + $(Q)PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ + make -f scripts/Makefile.build obj=scripts/kconfig randconfig basic: - $(Q)make -f scripts/Makefile.build obj=scripts/basic + $(Q)PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ + make -f scripts/Makefile.build obj=scripts/basic clean: rmallpath $(Q)make -f scripts/Makefile.clean obj=scripts/kconfig |