summaryrefslogtreecommitdiff
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-13 11:42:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-13 11:42:17 +0000
commit3b65557db8d43ad0071149c2f16d6ed1b927e801 (patch)
tree64f6d0ff47040d15bac23978b336c8f8ebb8746c /include/package-ipkg.mk
parent3f8fb64e6008ce6197be13e01d6c34a21e93752a (diff)
downloadmtk-20170518-3b65557db8d43ad0071149c2f16d6ed1b927e801.zip
mtk-20170518-3b65557db8d43ad0071149c2f16d6ed1b927e801.tar.gz
mtk-20170518-3b65557db8d43ad0071149c2f16d6ed1b927e801.tar.bz2
package-ipkg.sh: copy the package provides list for all virtual PROVIDES
SVN-Revision: 32332
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 e9bac7a..7ff3f6e 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -144,6 +144,7 @@ ifeq ($(DUMP),)
fi; \
done; \
) | sort -u > $(PKG_INFO_DIR)/$(1).provides
+ $(if $(PROVIDES),@for pkg in $(PROVIDES); do cp $(PKG_INFO_DIR)/$(1).provides $(PKG_INFO_DIR)/$$pkg.provides; done)
$(CheckDependencies)
$(RSTRIP) $$(IDIR_$(1))