add missing config change for OABI
authorFelix Fietkau <nbd@openwrt.org>
Thu, 14 Feb 2008 19:41:33 +0000 (19:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 14 Feb 2008 19:41:33 +0000 (19:41 +0000)
SVN-Revision: 10459

toolchain/uClibc/Makefile

index 2355e03..3d73bc3 100644 (file)
@@ -97,6 +97,8 @@ endif
        $(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(LINUX_HEADERS_DIR)/include\",g' \
                -e 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,y),g' \
                -e 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=$(if $(CONFIG_LARGEFILE),y,n),g' \
+               -e 's,^.*CONFIG_ARM_EABI.*,CONFIG_ARM_EABI=$(if $(CONFIG_EABI_SUPPORT),y,n),g' \
+               -e 's,^.*CONFIG_ARM_OABI.*,CONFIG_ARM_OABI=$(if $(CONFIG_EABI_SUPPORT),n,y),g' \
                -e 's,^.*UCLIBC_HAS_SHADOW.*,UCLIBC_HAS_SHADOW=$(if $(CONFIG_SHADOW_PASSWORDS),y,n),g' \
                $(PKG_BUILD_DIR)/.config
        mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/include