diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2023-09-19 00:23:40 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2023-09-27 22:37:01 +0200 |
commit | 0ba56ae4466e4320d744bb0c959fdae70b7fc941 (patch) | |
tree | 23e7bb514865710d5f79efed038758692a94a3fc /toolchain/kernel-headers | |
parent | 1b7d48dc5f5592a833b9a6bc0385b309f00038ab (diff) | |
download | upstream-0ba56ae4466e4320d744bb0c959fdae70b7fc941.tar.gz upstream-0ba56ae4466e4320d744bb0c959fdae70b7fc941.tar.bz2 upstream-0ba56ae4466e4320d744bb0c959fdae70b7fc941.zip |
toolchain: assign PKG_CPE_ID
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining package which have a CPE ID.
Not every package has a CPE id.
Related: https://github.com/openwrt/packages/issues/8534
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index eea0ffbde0..cd25f8a6de 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -17,6 +17,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=linux PKG_VERSION:=$(LINUX_VERSION) PKG_SOURCE:=$(LINUX_SOURCE) +PKG_CPE_ID:=cpe:/o:linux:linux_kernel ifneq ($(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)) |