From 3091d334e740364e8a213d206896818e9b15255b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 5 Feb 2020 15:48:43 +0100 Subject: [PATCH] boot/optee-os: license files hashes only valid for latest version 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 Signed-off-by: Yann E. MORIN Cc: Markus Mayer Signed-off-by: Peter Korsgaard --- boot/optee-os/optee-os.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/optee-os/optee-os.mk b/boot/optee-os/optee-os.mk index bedde85212..acdb25b479 100644 --- a/boot/optee-os/optee-os.mk +++ b/boot/optee-os/optee-os.mk @@ -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 -- 2.30.2