From: Yann E. MORIN Date: Wed, 5 Feb 2020 14:48:40 +0000 (+0100) Subject: boot/uboot: license files hashes only valid for latest version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff1a03ab28c8b5ffd7703cc4710bf20cc6223b5e;p=buildroot.git 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 --- 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