projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9156e19
)
Add include_mk template which makes it a bit more convienient to include package...
author
Lars-Peter Clausen
<lars@metafoo.de>
Wed, 24 Feb 2010 23:07:56 +0000
(23:07 +0000)
committer
Lars-Peter Clausen
<lars@metafoo.de>
Wed, 24 Feb 2010 23:07:56 +0000
(23:07 +0000)
SVN-Revision: 19847
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index 3473b212de4b6b4c1e054e435517c50b88117694..74be4713520dbb2052e32770bbb3029ffc9b98c6 100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-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)))