summaryrefslogtreecommitdiff
path: root/make/uclibc.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-17 02:26:49 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-17 02:26:49 +0000
commit04d74ab5568e0f5f6f0f169d2144eb67208ad0c4 (patch)
tree4d761f692bc0028889f33e838929a92eeb4bcb80 /make/uclibc.mk
parentb8a2361d0acfb594fbdee24881054cd7bde7b42a (diff)
When not building a toolchain, use the native compiler
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r--make/uclibc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index 68594af4e..88ef5df54 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -54,7 +54,7 @@ LINUX_DIR:=$(BUILD_DIR)/linux
endif
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
- perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCROSS=$(TARGET_CROSS),g' $(UCLIBC_DIR)/Rules.mak
+ perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCROSS=,g' $(UCLIBC_DIR)/Rules.mak
cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
perl -i -p -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' $(UCLIBC_DIR)/.config
perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"$(STAGING_DIR)\",g' $(UCLIBC_DIR)/.config