X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/01ed40ec23fdac372ea3de50a9bea06fa1a6718f..2b0f31d36202b05a041644dc88951e19c530cddd:/toolchain/uClibc/Makefile diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 8c02489b1..c1ff0f40d 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -64,6 +64,13 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \ -e 's/cris.*/cris/' \ ) +# Remove me when there are no 2.6.23 targets +ifeq ($(findstring 86,$(ARCH)),86) + ifneq ($(LINUX_2_6_23),y) + UCLIBC_TARGET_ARCH:=x86 + endif +endif + define Build/Prepare/Snapshot $(PKG_UNPACK) rm -Rf $(PKG_BUILD_DIR) @@ -150,7 +157,7 @@ define Build/Compile $(SED) 's,UCLIBC_VERSION=.*,UCLIBC_VERSION=$(PKG_VERSION),' $(TOOLCHAIN_DIR)/info.mk $(SED) 's,UCLIBC_PATCHVER=.*,UCLIBC_PATCHVER=$(PKG_EXTRAVERSION),' $(TOOLCHAIN_DIR)/info.mk rm -rf $(TOOLCHAIN_DIR)/lib/libc.so - ln -s $(TOOLCHAIN_DIR)/lib/libc.so.0 $(TOOLCHAIN_DIR)/lib/libc.so + ln -s libc.so.0 $(TOOLCHAIN_DIR)/lib/libc.so endef define Build/Install