boot/at91bootstrap3: license files hashes only valid for latest version
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 5 Feb 2020 14:48:42 +0000 (15:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 6 Feb 2020 19:38:13 +0000 (20:38 +0100)
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 at91bootstrap3 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 <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>
boot/at91bootstrap3/at91bootstrap3.mk

index 48c3a918a18d24f6cb3f6772d8998658a3fd1ae1..5cf865c681b700c9b2a291181169a0e4cf587fb0 100644 (file)
@@ -20,7 +20,9 @@ AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VER
 endif
 
 AT91BOOTSTRAP3_LICENSE = Atmel License
+ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION),y)
 AT91BOOTSTRAP3_LICENSE_FILES = main.c
+endif
 
 AT91BOOTSTRAP3_INSTALL_IMAGES = YES
 AT91BOOTSTRAP3_INSTALL_TARGET = NO