aboutsummaryrefslogtreecommitdiff
path: root/boot/uboot/uboot.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-02-05 15:48:40 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-02-06 18:38:35 +0100
commitff1a03ab28c8b5ffd7703cc4710bf20cc6223b5e (patch)
treed319b4ffdb1bb82ff3ef0df028f69f1e38fde9ff /boot/uboot/uboot.mk
parentc2009e9f757fe759c74406f1025967b7b8e77f0a (diff)
downloadbuildroot-ff1a03ab28c8b5ffd7703cc4710bf20cc6223b5e.tar.gz
buildroot-ff1a03ab28c8b5ffd7703cc4710bf20cc6223b5e.tar.bz2
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 <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>
Diffstat (limited to 'boot/uboot/uboot.mk')
-rw-r--r--boot/uboot/uboot.mk2
1 files changed, 2 insertions, 0 deletions
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