From: Felix Fietkau Date: Mon, 30 Jul 2007 22:01:29 +0000 (+0000) Subject: fix an uClibc compile error that only happens on rebuilds X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fbbf48cf260b9c3959988b5a8f67996b282edb0b;p=openwrt%2Fsvn-archive%2Farchive.git fix an uClibc compile error that only happens on rebuilds SVN-Revision: 8248 --- diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 7fce989542..d6ef6a3438 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -37,7 +37,6 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \ define Build/Prepare $(call Build/Prepare/Default) - $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(PKG_BUILD_DIR)/Rules.mak if [ -e config/$(ARCH).$(BOARD) ]; then \ $(CP) config/$(ARCH).$(BOARD) $(PKG_BUILD_DIR)/.config; \ else \ @@ -73,6 +72,7 @@ define Build/Configure endef define Build/Compile + $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(PKG_BUILD_DIR)/Rules.mak PATH=$(TARGET_PATH) $(MAKE) -j $(CONFIG_JLEVEL) -C $(PKG_BUILD_DIR) \ PREFIX= \ DEVEL_PREFIX=/ \