diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-16 09:35:11 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-16 09:35:11 +0000 |
commit | 2d943e7a13a44fac878404b1734201c081d68ced (patch) | |
tree | 1b190ebb2d175044471bf636bbe128c22f531e4c | |
parent | 7cb000f5d7f39b93449de9e014e241142162ec55 (diff) | |
download | buildroot-novena-2d943e7a13a44fac878404b1734201c081d68ced.tar.gz buildroot-novena-2d943e7a13a44fac878404b1734201c081d68ced.zip |
- pass the selected arm variant and ABI setting down to uClibc.
Now does not prompt for the former entered arch variant and ABI setting anymore, but still does for USE_BX (should this be forced to y if supported?)
- TODO: add missing variants that are supported by uClibc to buildroot
-rw-r--r-- | toolchain/uClibc/uclibc.mk | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index d66c5bccf..2c83d66f2 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -97,11 +97,18 @@ $(UCLIBC_DIR)/.config: $(UCLIBC_DIR)/.unpacked $(UCLIBC_CONFIG_FILE) -e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \ $(UCLIBC_DIR)/.config ifeq ($(UCLIBC_TARGET_ARCH),arm) - $(SED) 's,^.*CONFIG_$(shell echo $(BR2_ARM_TYPE)).*,CONFIG_$(shell echo $(BR2_ARM_TYPE))=y,g' \ - $(UCLIBC_DIR)/.config -endif + $(SED) '/.*CONFIG_ARM.*/d' -e '/.*CONFIG_GENERIC_ARM.*/d' \ + $(UCLIBC_DIR)/.config + /bin/echo "CONFIG_$(shell echo $(BR2_ARM_TYPE))=y" >> \ + $(UCLIBC_DIR)/.config ifeq ($(BR2_ARM_EABI),y) - $(SED) 's,# CONFIG_ARM_EABI is not set,CONFIG_ARM_EABI=y,g' $(UCLIBC_DIR)/.config + /bin/echo "# CONFIG_ARM_OABI is not set" >> $(UCLIBC_DIR)/.config + /bin/echo "CONFIG_ARM_EABI=y" >> $(UCLIBC_DIR)/.config +endif +ifeq ($(BR2_ARM_OABI),y) + /bin/echo "CONFIG_ARM_OABI=y" >> $(UCLIBC_DIR)/.config + /bin/echo "# CONFIG_ARM_EABI is not set" >> $(UCLIBC_DIR)/.config +endif endif ifneq ($(UCLIBC_TARGET_ENDIAN),) $(SED) '/^# ARCH_$(UCLIBC_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=y,g}' \ |