Add include_mk template which makes it a bit more convienient to include package installed mk files.

SVN-Revision: 19847
lede-17.01
Lars-Peter Clausen 2010-02-24 23:07:56 +00:00
parent 9156e19ac0
commit 001736d848
1 changed files with 4 additions and 0 deletions

View File

@ -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)))