From: Florian Fainelli Date: Mon, 21 Jul 2008 10:41:27 +0000 (+0000) Subject: uClibc for x86 targets and kernels >= 2.6.24 need to copy the right include files... X-Git-Tag: reboot~26064 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3d9c4c9073deaf01d592d6940af21be81d92e88a;p=oweals%2Fopenwrt.git 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 SVN-Revision: 11893 --- 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)