From f2dc7fadd8c6b180c3f985873261216d53f47f0d Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Wed, 19 Jan 2011 10:07:25 -0800 Subject: u-boot: Add a new upstream u-boot recipe uboot-omap3 appears to be fairly stale (last commit in April 2010) while the upstream u-boot is making regular tagged releases. Add a new recipe using the upstream u-boot repository. Signed-off-by: Darren Hart CC: Tom Zanussi CC: Bruce Ashfield --- meta/recipes-bsp/uboot/u-boot.inc | 3 ++- meta/recipes-bsp/uboot/u-boot_git.bb | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-bsp/uboot/u-boot_git.bb (limited to 'meta/recipes-bsp') diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc index 889f6215e..6363474e5 100644 --- a/meta/recipes-bsp/uboot/u-boot.inc +++ b/meta/recipes-bsp/uboot/u-boot.inc @@ -9,7 +9,8 @@ inherit deploy PARALLEL_MAKE="" -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS=''" UBOOT_MACHINE ?= "${MACHINE}_config" UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" diff --git a/meta/recipes-bsp/uboot/u-boot_git.bb b/meta/recipes-bsp/uboot/u-boot_git.bb new file mode 100644 index 000000000..16a1dbefa --- /dev/null +++ b/meta/recipes-bsp/uboot/u-boot_git.bb @@ -0,0 +1,21 @@ +require u-boot.inc + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b \ + file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE}" + +PV = "v2010.12+${PR}+git${SRCPV}" +PR="r0" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" + +UBOOT_MACHINE_beagleboard = "omap3_beagle_config" +UBOOT_MACHINE_overo = "omap3_overo_config" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +COMPATIBLE_MACHINE = "(beagleboard|overo)" -- cgit v1.2.3