summaryrefslogtreecommitdiff
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
commitcb73e4ad91a312aad257784f804d8b2a0430b8a8 (patch)
tree8d52e31b64c8e3e99614af08245b5465551739eb /include/package.mk
parenta195b6d8645819fd2f0d87350c1dde8e6e18677d (diff)
downloadmtk-20170518-cb73e4ad91a312aad257784f804d8b2a0430b8a8.zip
mtk-20170518-cb73e4ad91a312aad257784f804d8b2a0430b8a8.tar.gz
mtk-20170518-cb73e4ad91a312aad257784f804d8b2a0430b8a8.tar.bz2
fix inotify detection for linux 2.4 (fixes glib2 and packages that depend on it on brcm-2.4)
SVN-Revision: 12896
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 d67a386..0f3d21e 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))