aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-12-16 21:30:20 +0100
committerJo-Philipp Wich <jo@mein.io>2020-05-05 22:07:59 +0200
commit4d86e2ce0686d32dec8051baafe81a179a18cdf4 (patch)
tree1e8f69dbebf0925b291f3b674ac0ab5740cc4c7a /include/package-ipkg.mk
parent0fb5962e62596e14897a7ea9066ca17564f47d2f (diff)
downloadupstream-4d86e2ce0686d32dec8051baafe81a179a18cdf4.tar.gz
upstream-4d86e2ce0686d32dec8051baafe81a179a18cdf4.tar.bz2
upstream-4d86e2ce0686d32dec8051baafe81a179a18cdf4.zip
buildsystem: add CPE information to ipkg packages and manifest files
Common Platform Enumeration (CPE) is a structured naming scheme for information technology systems, software, and packages. This information already exists in some makefiles. In order for the information to be processed further, it should also be added to the manifest file and the control file of ipkg packages. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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 c4c8f4a36f..569edcbf03 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -173,6 +173,7 @@ $$(call addfield,Depends,$$(Package/$(1)/DEPENDS)
)$$(call addfield,LicenseFiles,$(LICENSE_FILES)
)$$(call addfield,Section,$(SECTION)
)$$(call addfield,Require-User,$(USERID)
+)$(if $(PKG_CPE_ID),CPE-ID: $(PKG_CPE_ID)
)$(if $(filter hold,$(PKG_FLAGS)),Status: unknown hold not-installed
)$(if $(filter essential,$(PKG_FLAGS)),Essential: yes
)$(if $(MAINTAINER),Maintainer: $(MAINTAINER)