summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-f9e805e6a3083551b18cae36e74c9b7e1458cc7b.zip
mtk-20170518-f9e805e6a3083551b18cae36e74c9b7e1458cc7b.tar.gz
mtk-20170518-f9e805e6a3083551b18cae36e74c9b7e1458cc7b.tar.bz2
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 b4f16e2..2d4e703 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