From 27b3f0813bf79baf208d8f6d8c3904be183dc4ec Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Wed, 9 Feb 2011 13:38:53 -0800 Subject: uboot: move license data into recipe with SRC_URI The LIC_CHKSUM_FILES are specific to the source determined by SRC_URI. As such, keep all the license information together with the SRC_URI. This also avoids confusion from having these defined in both the .inc and the .bb files. The CHKSUM got out of date in u-boot_git.bb, so update it while we're at it. Signed-off-by: Darren Hart CC: Ilya Yanok CC: Gary Thomas CC: Richard Purdie --- meta/recipes-bsp/uboot/u-boot.inc | 3 --- meta/recipes-bsp/uboot/u-boot_git.bb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'meta/recipes-bsp') diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc index f60667ee6b..1457c042e8 100644 --- a/meta/recipes-bsp/uboot/u-boot.inc +++ b/meta/recipes-bsp/uboot/u-boot.inc @@ -2,11 +2,8 @@ DESCRIPTION = "U-boot bootloader" HOMEPAGE = "http://u-boot.sf.net" SECTION = "bootloaders" PRIORITY = "optional" -LICENSE = "GPLv2" PROVIDES = "virtual/bootloader" -LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" - inherit deploy PARALLEL_MAKE="" diff --git a/meta/recipes-bsp/uboot/u-boot_git.bb b/meta/recipes-bsp/uboot/u-boot_git.bb index 16a1dbefae..b3207c68b0 100644 --- a/meta/recipes-bsp/uboot/u-boot_git.bb +++ b/meta/recipes-bsp/uboot/u-boot_git.bb @@ -1,7 +1,7 @@ require u-boot.inc LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b \ +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE}" -- cgit v1.2.3-54-g00ecf