diff options
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=/ \ |