[Buildroot] [git commit branch/2019.02.x] boot/uboot: license files hashes only valid for latest version

Peter Korsgaard peter at korsgaard.com
Tue Mar 10 21:41:23 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=2db3e95ff3b3cf72dc5cfadb2122125cb7425385
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x

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 <peter at korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
Cc: Markus Mayer <mmayer at broadcom.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit ff1a03ab28c8b5ffd7703cc4710bf20cc6223b5e)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 boot/uboot/uboot.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 3c070b41b3..75ce3b2f6a 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
 



More information about the buildroot mailing list