summaryrefslogtreecommitdiff
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-02 03:21:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-02 03:21:33 +0000
commit8b9ca169850fd535c33fbeb6d114cd0c8f3e235a (patch)
tree2df8700d1ea63ce335073c6d3cabaeadbd2c7a4a /include/package-ipkg.mk
parentadcfdc46e0c9b8179a8965731cac89895fa742ac (diff)
downloadmtk-20170518-8b9ca169850fd535c33fbeb6d114cd0c8f3e235a.zip
mtk-20170518-8b9ca169850fd535c33fbeb6d114cd0c8f3e235a.tar.gz
mtk-20170518-8b9ca169850fd535c33fbeb6d114cd0c8f3e235a.tar.bz2
add support for flagging packages
SVN-Revision: 23172
Diffstat (limited to 'include/package-ipkg.mk')
-rw-r--r--include/package-ipkg.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index dbf8721..edee6a4 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -117,6 +117,7 @@ ifeq ($(DUMP),)
$$(INFO_$(1)): $$(IPKG_$(1))
@[ -d $(TARGET_DIR)/tmp ] || mkdir -p $(TARGET_DIR)/tmp
$(OPKG) install $$(IPKG_$(1))
+ $(if $(PKGFLAGS),for flag in $(PKGFLAGS); do $(OPKG) flag $$$$flag $(1); done)
$(1)-clean:
rm -f $(PACKAGE_DIR)/$(1)_*