diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-07-05 19:55:13 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-07-05 21:43:47 +0200 |
commit | fb42f9fd543cd327da5b239dd0b4b283c320415a (patch) | |
tree | 16393d4f4e505afd5edfe90f31479a3875e49b0d /toolchain/uclibc-ng/Makefile | |
parent | 0b6ee788a600073196cbfbd89c565fba849d696f (diff) |
use HOST_PATH, otherwise wrong sed might be used
Diffstat (limited to 'toolchain/uclibc-ng/Makefile')
-rw-r--r-- | toolchain/uclibc-ng/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile index d13eeb0cb..2bc6e258e 100644 --- a/toolchain/uclibc-ng/Makefile +++ b/toolchain/uclibc-ng/Makefile @@ -64,25 +64,27 @@ ifeq ($(ADK_TARGET_USE_SSP),y) echo "SSP_QUICK_CANARY=n" >> ${WRKBUILD}/.config echo "UCLIBC_BUILD_SSP=y" >> ${WRKBUILD}/.config endif - echo N|$(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \ + echo N| PATH='$(HOST_PATH)' $(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \ PREFIX=$(STAGING_TARGET_DIR) \ DEVEL_PREFIX=/usr/ \ RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \ HOSTCC="$(HOST_CC)" \ CPU_CFLAGS="$(TARGET_CFLAGS)" \ + V=1 \ oldconfig - $(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \ + PATH='$(HOST_PATH)' $(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \ PREFIX=$(STAGING_TARGET_DIR) \ DEVEL_PREFIX=/usr/ \ RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \ HOSTCC="$(HOST_CC)" \ CPU_CFLAGS="$(TARGET_CFLAGS)" \ + V=1 \ install_headers touch $(WRKBUILD)/.configured touch $@ $(WRKBUILD)/.compiled: - $(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \ + PATH='$(HOST_PATH)' $(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \ PREFIX= \ DEVEL_PREFIX=/ \ RUNTIME_PREFIX=/ \ @@ -92,7 +94,7 @@ $(WRKBUILD)/.compiled: touch $@ $(WRKBUILD)/.install_headers: $(WRKBUILD)/.compiled - $(MAKE) -C $(WRKBUILD) \ + PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \ PREFIX=$(STAGING_TARGET_DIR) \ DEVEL_PREFIX=/usr/ \ DEVEL_PREFIX_LIB=/ \ @@ -105,7 +107,7 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.install_headers touch $@ $(WRKBUILD)/.fixup: - $(MAKE) -C $(WRKBUILD) \ + PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \ PREFIX=$(STAGING_TARGET_DIR) \ DEVEL_PREFIX=/usr/ \ DEVEL_PREFIX_LIB=/ \ |