1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-03 21:09:42 +02:00

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
This commit is contained in:
lars 2010-02-24 23:07:56 +00:00
parent 68e5672a7d
commit 89d4450236

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