summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYousong Zhou2017-03-05 08:19:46 +0000
committerYousong Zhou2017-03-05 09:23:46 +0000
commitc0b5c46c9af19127e8d3a1e91de93645c9a9ffe1 (patch)
tree14c66fa03332834c96a92871a87ab1722fea148e
parentf0918750abd1cd589c5683eb608954b831d9b70a (diff)
downloadyousong-c0b5c46c9af19127e8d3a1e91de93645c9a9ffe1.tar.gz
build: ipkg: new field Alternatives
It's a list of specs of the following form seprated by commas to describe alternatives provided by this package <prio>:<path>:<altpath> <path> will be a symbolic link to <altpath> of the highest <prio> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-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 620be991b3..bf508fb493 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -159,6 +159,7 @@ Version: $(VERSION)
$$(call addfield,Depends,$$(Package/$(1)/DEPENDS)
)$$(call addfield,Conflicts,$$(call mergelist,$(CONFLICTS))
)$$(call addfield,Provides,$$(call mergelist,$(PROVIDES))
+)$$(call addfield,Alternatives,$$(call mergelist,$(ALTERNATIVES))
)$$(call addfield,Source,$(SOURCE)
)$$(call addfield,License,$$(PKG_LICENSE)
)$$(call addfield,LicenseFiles,$$(PKG_LICENSE_FILES)