mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
linux: Add support for custom license files
The Linux package was not providing any license file when a custom Linux version was selected. Fix this by adding a Kconfig option to specify the license file, with a default value set to the commonly used license paths. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> [Arnout: use a single Kconfig option with conditional prompt] Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
9a1a71be21
commit
50958bcdac
@@ -6,12 +6,8 @@
|
||||
|
||||
LINUX_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
|
||||
LINUX_LICENSE = GPL-2.0
|
||||
ifeq ($(BR2_LINUX_KERNEL_LATEST_VERSION),y)
|
||||
LINUX_LICENSE_FILES = \
|
||||
COPYING \
|
||||
LICENSES/preferred/GPL-2.0 \
|
||||
LICENSES/exceptions/Linux-syscall-note
|
||||
endif
|
||||
LINUX_LICENSE_FILES = $(call qstrip,$(BR2_LINUX_KERNEL_LICENSE_FILES))
|
||||
|
||||
LINUX_CPE_ID_VENDOR = linux
|
||||
LINUX_CPE_ID_PRODUCT = linux_kernel
|
||||
LINUX_CPE_ID_PREFIX = cpe:2.3:o
|
||||
|
||||
Reference in New Issue
Block a user