From ff1a03ab28c8b5ffd7703cc4710bf20cc6223b5e Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 5 Feb 2020 15:48:40 +0100 Subject: [PATCH] boot/uboot: 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 U-Boot as was done for ATF, linux, and linux-headers, 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/uboot/uboot.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 1f444351d7..2bfa50779b 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -8,7 +8,9 @@ UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION)) UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME)) UBOOT_LICENSE = GPL-2.0+ +ifeq ($(BR2_TARGET_UBOOT_LATEST_VERSION),y) UBOOT_LICENSE_FILES = Licenses/gpl-2.0.txt +endif UBOOT_INSTALL_IMAGES = YES -- 2.30.2