summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uclibc.mk
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-06-30 00:36:16 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-06-30 00:36:16 +0000
commit8a3d415a8ee12ebdbf3f88a8665950432dae2ebb (patch)
tree306b6d6984653c27f59352bf195528afffdd9af3 /toolchain/uClibc/uclibc.mk
parentd1002763cf3287249517c98b571f0f48a94a5d2d (diff)
downloadbuildroot-novena-8a3d415a8ee12ebdbf3f88a8665950432dae2ebb.tar.gz
buildroot-novena-8a3d415a8ee12ebdbf3f88a8665950432dae2ebb.zip
Fix buildroot not to modify Rules.mak. Patch From vapier.
Diffstat (limited to 'toolchain/uClibc/uclibc.mk')
-rw-r--r--toolchain/uClibc/uclibc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 873603d7d..a0988b5fd 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -51,8 +51,8 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
touch $(UCLIBC_DIR)/.unpacked
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
- $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(UCLIBC_DIR)/Rules.mak
cp $(UCLIBC_CONFIG_FILE) $(UCLIBC_DIR)/.config
+ $(SED) 's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="$(TARGET_CROSS)",g' $(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