aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-07-24 13:25:18 +0000
committerNicolas Thill <nico@openwrt.org>2005-07-24 13:25:18 +0000
commitf91aad926f9e0d34d806454a99f25bac63500b12 (patch)
treed2212efef8511b5ccafb05050283607adf8e820f /toolchain/uClibc/Makefile
parent6523d94a634fb15225adc0a5d2178e06371f1255 (diff)
downloadmaster-187ad058-f91aad926f9e0d34d806454a99f25bac63500b12.tar.gz
master-187ad058-f91aad926f9e0d34d806454a99f25bac63500b12.tar.bz2
master-187ad058-f91aad926f9e0d34d806454a99f25bac63500b12.zip
add support for multiple target arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1539 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 709bc42f35..d40d8c6735 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -47,18 +47,9 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(UCLIBC_DIR)/Rules.mak
- cp ./uclibc.config $(UCLIBC_DIR)/.config
- $(SED) 's,^.*TARGET_$(UCLIBC_TARGET_ARCH).*,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \
- $(UCLIBC_DIR)/.config
- $(SED) 's,^TARGET_ARCH.*,TARGET_ARCH=\"$(UCLIBC_TARGET_ARCH)\",g' $(UCLIBC_DIR)/.config
+ cp ./files/config.$(UCLIBC_TARGET_ARCH) $(UCLIBC_DIR)/.config
$(SED) 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_HEADERS_DIR)\",g' \
$(UCLIBC_DIR)/.config
- $(SED) 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \
- $(UCLIBC_DIR)/.config
- $(SED) 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
- $(UCLIBC_DIR)/.config
- $(SED) 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
- $(UCLIBC_DIR)/.config
ifeq ($(BR2_LARGEFILE),y)
$(SED) 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' $(UCLIBC_DIR)/.config
else