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
commit780e628530e9c002121fdc1f1a31e9a1f8c7c4f7 (patch)
tree51bead395dd89117d0009d527155e87d04c9c8d8 /include/package.mk
parent29e2b2b54218e4663e888f88b28e2f2d1eb6fb7e (diff)
downloadupstream-780e628530e9c002121fdc1f1a31e9a1f8c7c4f7.tar.gz
upstream-780e628530e9c002121fdc1f1a31e9a1f8c7c4f7.tar.bz2
upstream-780e628530e9c002121fdc1f1a31e9a1f8c7c4f7.zip
add sitefiles similar to the ones from openembedded
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5232 3c298f89-4303-0410-b956-a3cf2f4a3e73
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