aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-08 12:07:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-08 12:07:14 +0000
commit3df1f49e84d4115935d82c02eddeabc3f804c3cc (patch)
tree0a9facb967fc5147af4c86187c9f8677aeaffa8d /include/package.mk
parent2a9b78c97cf782d797007e5960b5eeacba49faba (diff)
downloadupstream-3df1f49e84d4115935d82c02eddeabc3f804c3cc.tar.gz
upstream-3df1f49e84d4115935d82c02eddeabc3f804c3cc.tar.bz2
upstream-3df1f49e84d4115935d82c02eddeabc3f804c3cc.zip
fix inotify detection for linux 2.4 (fixes glib2 and packages that depend on it on brcm-2.4)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12896 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index d67a386225..0f3d21ee9e 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -31,7 +31,11 @@ include $(INCLUDE_DIR)/package-bin.mk
include $(INCLUDE_DIR)/autotools.mk
override MAKEFLAGS=
-export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(patsubst %gnueabi,%,$(REAL_GNU_TARGET_NAME))
+CONFIG_SITE:=$(INCLUDE_DIR)/site/$(patsubst %gnueabi,%,$(REAL_GNU_TARGET_NAME))
+ifneq ($(CONFIG_LINUX_2_4),)
+ CONFIG_SITE:=$(subst linux-,linux2.4-,$(CONFIG_SITE))
+endif
+export CONFIG_SITE
CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST)))
SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE))