boot/uboot: license files hashes only valid for latest version
commit: https://git.buildroot.net/buildroot/commit/?id=f541c16b1ddfed5fa37773b4042a691dcc354099
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.11.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 <[email protected]>
Signed-off-by Yann E. MORIN <[email protected]>
Cc Markus Mayer <[email protected]>
Signed-off-by Peter Korsgaard <[email protected]>
(cherry picked from commit ff1a03ab28c8b5ffd7703cc4710bf20cc6223b5e)
Signed-off-by Peter Korsgaard <[email protected]>
--- boot/uboot/uboot.mk | 2 ++ 1 file changed, 2 insertions(+)
boot/uboot/uboot.mk +2 -0
@@ -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