From f788d4b503ecc6600612746c4936dfb9393e237c Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Wed, 25 May 2011 20:47:05 -0700 Subject: u-boot: rename u-boot_git.bb to u-boot_${PV}.bb In order to facilitate reuse of the oe-core u-boot recipe, there needs to be some assurance that the oe-core version won't change without a clear indicator to people extending it. By renaming the recipe to include its version string instead of "git", BSP layers can extend a specific base version of u-boot, ie. u-boot_2011.03.bbappend. When 2011.06 becomes available, we can create that file without instantly breaking all the BSPs depending on oe-core version of the recipe. As a matter of policy I would recommend we not carry more than 2 versioned u-boot recipess at any given time. This will provide BSP layers time to migrate to the newer version, without cluttering oe-core with numerous stale versions of u-boot. We may decide later to resurrect u-boot_git.bb as an AUTOREV recipe to faciliate upstream development on u-boot in the oe environment. Signed-off-by: Darren Hart Cc: Richard Purdie Cc: Koen Kooi Cc: Jason Kridner --- meta/recipes-bsp/uboot/u-boot_2011.03.bb | 23 +++++++++++++++++++++++ meta/recipes-bsp/uboot/u-boot_git.bb | 23 ----------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 meta/recipes-bsp/uboot/u-boot_2011.03.bb delete mode 100644 meta/recipes-bsp/uboot/u-boot_git.bb (limited to 'meta') diff --git a/meta/recipes-bsp/uboot/u-boot_2011.03.bb b/meta/recipes-bsp/uboot/u-boot_2011.03.bb new file mode 100644 index 000000000..0fbb9ba18 --- /dev/null +++ b/meta/recipes-bsp/uboot/u-boot_2011.03.bb @@ -0,0 +1,23 @@ +require u-boot.inc + +# To build u-boot for your machine, provide the following lines in your machine +# config, replacing the assignments as appropriate for your machine. +# UBOOT_MACHINE = "omap3_beagle_config" +# UBOOT_ENTRYPOINT = "0x80008000" +# UBOOT_LOADADDRESS = "0x80008000" + +LICENSE = "GPLv2+" +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}" + +SRCREV = "v2011.03" +PV = "v2011.03+git${SRCPV}" +PR="r3" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/meta/recipes-bsp/uboot/u-boot_git.bb b/meta/recipes-bsp/uboot/u-boot_git.bb deleted file mode 100644 index 0fbb9ba18..000000000 --- a/meta/recipes-bsp/uboot/u-boot_git.bb +++ /dev/null @@ -1,23 +0,0 @@ -require u-boot.inc - -# To build u-boot for your machine, provide the following lines in your machine -# config, replacing the assignments as appropriate for your machine. -# UBOOT_MACHINE = "omap3_beagle_config" -# UBOOT_ENTRYPOINT = "0x80008000" -# UBOOT_LOADADDRESS = "0x80008000" - -LICENSE = "GPLv2+" -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}" - -SRCREV = "v2011.03" -PV = "v2011.03+git${SRCPV}" -PR="r3" - -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" - -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" -- cgit v1.2.3