diff options
-rw-r--r-- | toolchain/uClibc/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 8c02489b14..197f736d1e 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) |