diff options
| author | Darren Hart <dvhart@linux.intel.com> | 2011-01-19 10:07:25 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-21 11:18:36 +0000 |
| commit | f2dc7fadd8c6b180c3f985873261216d53f47f0d (patch) | |
| tree | f5dc544cc352312cac3b8907077a9dbabd32a5fe /meta | |
| parent | b6cbf223d838bca674301927d6c3ec48e349009b (diff) | |
| download | poky-f2dc7fadd8c6b180c3f985873261216d53f47f0d.tar.gz | |
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 <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/conf/distro/include/poky-default-revisions.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-bsp/uboot/u-boot.inc | 3 | ||||
| -rw-r--r-- | meta/recipes-bsp/uboot/u-boot_git.bb | 21 |
3 files changed, 24 insertions, 1 deletions
diff --git a/meta/conf/distro/include/poky-default-revisions.inc b/meta/conf/distro/include/poky-default-revisions.inc index b508278800..c40d8607ed 100644 --- a/meta/conf/distro/include/poky-default-revisions.inc +++ b/meta/conf/distro/include/poky-default-revisions.inc | |||
| @@ -173,6 +173,7 @@ SRCREV_pn-trace-cmd ??= ${TRACECMDREV} | |||
| 173 | SRCREV_pn-kernelshark ??= ${TRACECMDREV} | 173 | SRCREV_pn-kernelshark ??= ${TRACECMDREV} |
| 174 | SRCREV_pn-tidy ??= "e25416e1293e1074bfa6727c80527dcff5b1f3cb" | 174 | SRCREV_pn-tidy ??= "e25416e1293e1074bfa6727c80527dcff5b1f3cb" |
| 175 | SRCREV_pn-u-boot-omap3 ??= "f40f6db278f602b55820693634a7256b0b4e4b80" | 175 | SRCREV_pn-u-boot-omap3 ??= "f40f6db278f602b55820693634a7256b0b4e4b80" |
| 176 | SRCREV_pn-u-boot ??= "v2010.12" | ||
| 176 | SRCREV_pn-ubootchart ??= "10" | 177 | SRCREV_pn-ubootchart ??= "10" |
| 177 | SRCREV_pn-webkit-gtk ??= "62027" | 178 | SRCREV_pn-webkit-gtk ??= "62027" |
| 178 | SRCREV_pn-web-webkit ??= "130" | 179 | SRCREV_pn-web-webkit ??= "130" |
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 | ||
| 10 | PARALLEL_MAKE="" | 10 | PARALLEL_MAKE="" |
| 11 | 11 | ||
| 12 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | 12 | # GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS |
| 13 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS=''" | ||
| 13 | 14 | ||
| 14 | UBOOT_MACHINE ?= "${MACHINE}_config" | 15 | UBOOT_MACHINE ?= "${MACHINE}_config" |
| 15 | UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" | 16 | 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 0000000000..16a1dbefae --- /dev/null +++ b/meta/recipes-bsp/uboot/u-boot_git.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | require u-boot.inc | ||
| 2 | |||
| 3 | LICENSE = "GPLv2+" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b \ | ||
| 5 | file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" | ||
| 6 | |||
| 7 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE}" | ||
| 8 | |||
| 9 | PV = "v2010.12+${PR}+git${SRCPV}" | ||
| 10 | PR="r0" | ||
| 11 | |||
| 12 | SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" | ||
| 13 | |||
| 14 | UBOOT_MACHINE_beagleboard = "omap3_beagle_config" | ||
| 15 | UBOOT_MACHINE_overo = "omap3_overo_config" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 20 | |||
| 21 | COMPATIBLE_MACHINE = "(beagleboard|overo)" | ||
