summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-21 10:41:27 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-21 10:41:27 +0000
commit541dcce6ec450a2aceaf1b42b67b16ebfc9730aa (patch)
treee7d1e24749aff06deee36ff4e3115b8f9566d663 /toolchain
parent08bed5460c93e080498f5f348b9a8ff693ee7bff (diff)
uClibc for x86 targets and kernels >= 2.6.24 need to copy the right include files, remove this when there are no 2.6.23 left
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11893 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 8c02489b1..197f736d1 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)