X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c8ae05cb22e9e21ceafb8ba8079ac814fccd8048..eedfb2737930d49b326246c3ab42be6affc060f8:/toolchain/uClibc/Makefile?ds=sidebyside diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 58755e848..08f267001 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -22,8 +22,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR_HOST)/uClibc-$(PKG_VERSION)$(PKG_EXTRAVERSION) include $(INCLUDE_DIR)/host-build.mk -STAMP_BUILT:=$(STAGING_DIR)/stamp/.uclibc_installed -STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.uclibc-utils_installed +STAMP_BUILT:=$(TOOLCHAIN_DIR)/stamp/.uclibc_installed +STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc-utils_installed UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \ -e 's/i.86/i386/' \ @@ -64,10 +64,11 @@ define Build/Configure endef UCLIBC_MAKE := PATH=$(TARGET_PATH) $(MAKE) -C $(PKG_BUILD_DIR) \ - DEVEL_PREFIX=/ \ - RUNTIME_PREFIX=/ \ - HOSTCC="$(HOSTCC)" \ - CPU_CFLAGS="$(TARGET_CFLAGS)" + $(TARGET_CONFIGURE_OPTS) \ + DEVEL_PREFIX=/ \ + RUNTIME_PREFIX=/ \ + HOSTCC="$(HOSTCC)" \ + CPU_CFLAGS="$(TARGET_CFLAGS)" define Build/Compile $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(PKG_BUILD_DIR)/Rules.mak