diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-06-26 01:44:58 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-06-26 01:44:58 +0200 |
commit | 6d3873ba4b91337fede90b317ac2dcc9c476d110 (patch) | |
tree | 3e4e5356ba1ad50082021347fdbbcb8ebec9f51c /Makefile | |
parent | f5098e6295be6c59c4f3e0d08640c4d4545dec34 (diff) | |
download | embtoolkit-6d3873ba4b91337fede90b317ac2dcc9c476d110.tar.gz embtoolkit-6d3873ba4b91337fede90b317ac2dcc9c476d110.tar.bz2 embtoolkit-6d3873ba4b91337fede90b317ac2dcc9c476d110.tar.xz |
Build system: fix PKG_CONFIG_PATH for target and host
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
@@ -81,34 +81,28 @@ All: $(EMBTK_BUILD) xconfig: basic ifeq ($(CONFIG_EMBTK_DOTCONFIG),y) - $(Q)PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ - make -f scripts/Makefile.build obj=scripts/kconfig xconfig + $(Q)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; \ + $(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; \ + $(MAKE) -f scripts/Makefile.build obj=scripts/kconfig xconfig; \ fi endif menuconfig: basic - $(Q)PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ - make -f scripts/Makefile.build obj=scripts/kconfig menuconfig + $(Q)$(MAKE) -f scripts/Makefile.build obj=scripts/kconfig menuconfig randconfig: basic - $(Q)PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ - make -f scripts/Makefile.build obj=scripts/kconfig randconfig + $(Q)$(MAKE) -f scripts/Makefile.build obj=scripts/kconfig randconfig basic: - $(Q)PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig \ - make -f scripts/Makefile.build obj=scripts/basic + $(Q)$(MAKE) -f scripts/Makefile.build obj=scripts/basic clean: rmallpath - $(Q)make -f scripts/Makefile.clean obj=scripts/kconfig - $(Q)make -f scripts/Makefile.clean obj=scripts/basic + $(Q)$(MAKE) -f scripts/Makefile.clean obj=scripts/kconfig + $(Q)$(MAKE) -f scripts/Makefile.clean obj=scripts/basic $(Q)rm -rf .config kbuild.log .fakeroot* startbuild: |