When not building a toolchain, use the native compiler
This commit is contained in:
parent
b8a2361d0a
commit
04d74ab556
@ -54,7 +54,7 @@ LINUX_DIR:=$(BUILD_DIR)/linux
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
|
$(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
|
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,^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
|
perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"$(STAGING_DIR)\",g' $(UCLIBC_DIR)/.config
|
||||||
|
Loading…
Reference in New Issue
Block a user