aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Makefile
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2023-09-19 00:23:40 +0200
committerArne Zachlod <arne@nerdkeller.org>2023-09-27 17:31:53 +0200
commit6a2d19cbab4dc6b40209f98bf5f8c34286d05d31 (patch)
tree379152184df4231a1556d0a8fb2aaea592c91491 /toolchain/kernel-headers/Makefile
parent9d71dc94d3c87c3c85fc328513de6c3fc29eecfb (diff)
downloadupstream-6a2d19cbab4dc6b40209f98bf5f8c34286d05d31.tar.gz
upstream-6a2d19cbab4dc6b40209f98bf5f8c34286d05d31.tar.bz2
upstream-6a2d19cbab4dc6b40209f98bf5f8c34286d05d31.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/Makefile')
-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 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))