summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/uboot
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/uboot')
-rw-r--r--meta/recipes-bsp/uboot/u-boot.inc3
-rw-r--r--meta/recipes-bsp/uboot/u-boot_git.bb21
2 files changed, 23 insertions, 1 deletions
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc
index 889f6215ed..6363474e53 100644
--- a/meta/recipes-bsp/uboot/u-boot.inc
+++ b/meta/recipes-bsp/uboot/u-boot.inc
@@ -9,7 +9,8 @@ inherit deploy
9 9
10PARALLEL_MAKE="" 10PARALLEL_MAKE=""
11 11
12EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" 12# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS
13EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS=''"
13 14
14UBOOT_MACHINE ?= "${MACHINE}_config" 15UBOOT_MACHINE ?= "${MACHINE}_config"
15UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" 16UBOOT_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 0000000000..16a1dbefae
--- /dev/null
+++ b/meta/recipes-bsp/uboot/u-boot_git.bb
@@ -0,0 +1,21 @@
1require u-boot.inc
2
3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b \
5 file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5"
6
7FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE}"
8
9PV = "v2010.12+${PR}+git${SRCPV}"
10PR="r0"
11
12SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
13
14UBOOT_MACHINE_beagleboard = "omap3_beagle_config"
15UBOOT_MACHINE_overo = "omap3_overo_config"
16
17S = "${WORKDIR}/git"
18
19PACKAGE_ARCH = "${MACHINE_ARCH}"
20
21COMPATIBLE_MACHINE = "(beagleboard|overo)"