diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-24 23:07:56 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-24 23:07:56 +0000 |
commit | 3358054d5916a069a3861e8cb975553e5160d817 (patch) | |
tree | bb7ebf880edcf94199a314293b1b0020eb969fa9 | |
parent | 81aeef89072811a5e81d0cb4d83c44c93b1cdab2 (diff) | |
download | upstream-3358054d5916a069a3861e8cb975553e5160d817.tar.gz upstream-3358054d5916a069a3861e8cb975553e5160d817.tar.bz2 upstream-3358054d5916a069a3861e8cb975553e5160d817.zip |
Add include_mk template which makes it a bit more convienient to include package
installed mk files.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19847 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | rules.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -220,6 +220,10 @@ $(call shvar,$(1))=$$(call $(1)) export $(call shvar,$(1)) endef +define include_mk +$(eval -include $(if $(DUMP),,$(STAGING_DIR)/mk/$(strip $(1)))) +endef + # file extension ext=$(word $(words $(subst ., ,$(1))),$(subst ., ,$(1))) |