summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2023-09-19 00:23:40 +0200
committerAlexander Couzens <lynxis@fe80.eu>2023-09-19 20:22:59 +0200
commitbcf02c5d3123a99c717ca33f1d7c6250acf0f33f (patch)
treed6e621ac5fb7bdfea623408430b8d736d200a237 /toolchain/kernel-headers
parent02f86a0765279918b54d1d51fe1926db213aeb2a (diff)
downloadopenwrt-bcf02c5d3123a99c717ca33f1d7c6250acf0f33f.tar.gz
openwrt-bcf02c5d3123a99c717ca33f1d7c6250acf0f33f.tar.bz2
openwrt-bcf02c5d3123a99c717ca33f1d7c6250acf0f33f.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/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 8e3324816b..dc70f32c90 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))