aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-19 15:25:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-19 15:25:58 +0000
commitf9e805e6a3083551b18cae36e74c9b7e1458cc7b (patch)
treedd68e712b598fa030cc78916f830f4d1dfe04a2c /include/package.mk
parent9cf6bdac93c4ae18850ebbde074dd3eaed28c14e (diff)
downloadupstream-f9e805e6a3083551b18cae36e74c9b7e1458cc7b.tar.gz
upstream-f9e805e6a3083551b18cae36e74c9b7e1458cc7b.tar.bz2
upstream-f9e805e6a3083551b18cae36e74c9b7e1458cc7b.zip
add sitefiles similar to the ones from openembedded
SVN-Revision: 5232
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index b4f16e2d3a..2d4e703f3b 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -14,6 +14,8 @@ include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/host.mk
include $(INCLUDE_DIR)/unpack.mk
+export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)
+
define shvar
V_$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
endef