mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
optee-os: Add support for custom license files
The OP-TEE OS 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>
(cherry picked from commit 71e8ca62dd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
6673c79b99
commit
ba6335ebe8
@@ -86,6 +86,14 @@ config BR2_TARGET_OPTEE_OS_VERSION
|
||||
default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \
|
||||
if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
|
||||
|
||||
config BR2_TARGET_OPTEE_OS_LICENSE_FILES
|
||||
string "OP-TEE OS license files" if BR2_TARGET_OPTEE_OS_CUSTOM_GIT || \
|
||||
BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL
|
||||
default "LICENSE"
|
||||
help
|
||||
A space-separated list of license files related to the
|
||||
OPTEE-OS package.
|
||||
|
||||
config BR2_TARGET_OPTEE_OS_NEEDS_DTC
|
||||
bool "OP-TEE OS needs dtc"
|
||||
select BR2_PACKAGE_HOST_DTC
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
|
||||
OPTEE_OS_VERSION = $(call qstrip,$(BR2_TARGET_OPTEE_OS_VERSION))
|
||||
OPTEE_OS_LICENSE = BSD-2-Clause
|
||||
ifeq ($(BR2_TARGET_OPTEE_OS_LATEST),y)
|
||||
OPTEE_OS_LICENSE_FILES = LICENSE
|
||||
endif
|
||||
OPTEE_OS_LICENSE_FILES = $(call qstrip,$(BR2_TARGET_OPTEE_OS_LICENSE_FILES))
|
||||
|
||||
OPTEE_OS_CPE_ID_PREFIX = cpe:2.3:o
|
||||
OPTEE_OS_CPE_ID_VENDOR = linaro
|
||||
|
||||
Reference in New Issue
Block a user