minor changes to accomodate the config system updates
This commit is contained in:
parent
9d82281e67
commit
5833504dad
@ -24,13 +24,13 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
|
|||||||
touch $(UCLIBC_DIR)/.unpacked
|
touch $(UCLIBC_DIR)/.unpacked
|
||||||
|
|
||||||
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked $(BUILD_DIR)/linux/.configured
|
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked $(BUILD_DIR)/linux/.configured
|
||||||
perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCROSS=$(TARGET_CROSS),g' \
|
perl -i -p -e 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(UCLIBC_DIR)/Rules.mak
|
||||||
$(UCLIBC_DIR)/Rules.mak
|
|
||||||
ifeq ($(ENABLE_LOCALE),true)
|
ifeq ($(ENABLE_LOCALE),true)
|
||||||
cp $(SOURCE_DIR)/uClibc.config-locale $(UCLIBC_DIR)/.config
|
cp $(SOURCE_DIR)/uClibc.config-locale $(UCLIBC_DIR)/.config
|
||||||
else
|
else
|
||||||
cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
|
cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
|
||||||
endif
|
endif
|
||||||
|
perl -i -p -e 's,^TARGET_[a-z].*,TARGET_$(ARCH)=y,g' $(UCLIBC_DIR)/.config
|
||||||
perl -i -p -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' \
|
perl -i -p -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' \
|
||||||
$(UCLIBC_DIR)/.config
|
$(UCLIBC_DIR)/.config
|
||||||
perl -i -p -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"$(STAGING_DIR)\",g' \
|
perl -i -p -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"$(STAGING_DIR)\",g' \
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
#
|
#
|
||||||
# TARGET_ALPHA is not set
|
# TARGET_alpha is not set
|
||||||
# TARGET_ARM is not set
|
# TARGET_arm is not set
|
||||||
# TARGET_CRIS is not set
|
# TARGET_cris is not set
|
||||||
# TARGET_E1 is not set
|
# TARGET_e1 is not set
|
||||||
# TARGET_H8300 is not set
|
# TARGET_h8300 is not set
|
||||||
TARGET_I386=y
|
TARGET_i386=y
|
||||||
# TARGET_I960 is not set
|
# TARGET_i960 is not set
|
||||||
# TARGET_M68K is not set
|
# TARGET_m68k is not set
|
||||||
# TARGET_MICROBLAZE is not set
|
# TARGET_microblaze is not set
|
||||||
# TARGET_MIPS is not set
|
# TARGET_mips is not set
|
||||||
# TARGET_POWERPC is not set
|
# TARGET_powerpc is not set
|
||||||
# TARGET_SH is not set
|
# TARGET_sh is not set
|
||||||
# TARGET_SPARC is not set
|
# TARGET_sparc is not set
|
||||||
# TARGET_V850 is not set
|
# TARGET_v850 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Target Architecture Features and Options
|
# Target Architecture Features and Options
|
||||||
|
Loading…
Reference in New Issue
Block a user