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-a3cf2f4a3e73master
parent
81aeef8907
commit
3358054d59
4
rules.mk
4
rules.mk
|
@ -220,6 +220,10 @@ $(call shvar,$(1))=$$(call $(1))
|
||||||
export $(call shvar,$(1))
|
export $(call shvar,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define include_mk
|
||||||
|
$(eval -include $(if $(DUMP),,$(STAGING_DIR)/mk/$(strip $(1))))
|
||||||
|
endef
|
||||||
|
|
||||||
# file extension
|
# file extension
|
||||||
ext=$(word $(words $(subst ., ,$(1))),$(subst ., ,$(1)))
|
ext=$(word $(words $(subst ., ,$(1))),$(subst ., ,$(1)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue