mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:27:30 +02:00
fix an uClibc compile error that only happens on rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8248 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
215c893ae1
commit
fa6b203c6e
@ -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=/ \
|
||||
|
Loading…
Reference in New Issue
Block a user