boot/optee-os: license files hashes only valid for latest version
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 5 Feb 2020 14:48:43 +0000 (15:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 6 Feb 2020 19:42:02 +0000 (20:42 +0100)
We can only know the details of the license files for known versions.  For
custom, older or newer versions, the license files may change, or may be
moved around.

So, do for optee-os as was done for other packages in the recent past,
and only define the list of license files for the latest version.

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
boot/optee-os/optee-os.mk

index bedde85212c2c8636a8f8142b8655a7960bcc066..acdb25b47935591c7f32ae3726beec4e19b72ef7 100644 (file)
@@ -6,7 +6,9 @@
 
 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_INSTALL_STAGING = YES
 OPTEE_OS_INSTALL_IMAGES = YES