[oe] [STABLE][PATCH 1/1] u-boot-bug: Added U-Boot for BUG (from BUG Labs SVN)

Philip Balister philip at balister.org
Tue May 5 11:25:25 UTC 2009


Acked-by: Philip Balister <philip at balister.org>

Marcin Juszkiewicz wrote:
> From: Marcin Juszkiewicz <marcin at buglabs.net>
> 
> 
> Signed-off-by: Marcin Juszkiewicz <marcin at buglabs.net>
> ---
>  conf/distro/include/sane-srcrevs.inc |    1 +
>  recipes/u-boot/u-boot-bug_svn.bb     |   37 ++++++++++++++++++++++++++++++++++
>  2 files changed, 38 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/u-boot/u-boot-bug_svn.bb
> 
> diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
> index 64781eb..d924070 100644
> --- a/conf/distro/include/sane-srcrevs.inc
> +++ b/conf/distro/include/sane-srcrevs.inc
> @@ -239,6 +239,7 @@ SRCREV_pn-table ?= "2191"
>  SRCREV_pn-tichy ?= "ab68d849502009cf3214df48ffa8075a10cc2177"
>  SRCREV_pn-tmut ?= "60"
>  SRCREV_pn-toscoterm ?= "f02add76f365a2fecd2dbefc230ceaab20244f96"
> +SRCREV_pn-u-boot-bug ?= "8674"
>  SRCREV_pn-u-boot-openmoko ?= "650149a53dbdd48bf6dfef90930c8ab182adb512"
>  SRCREV_pn-u-boot-openmoko-devel ?= "ba029a1426bfca169572bf80d50a8b190a6b0e19"
>  SRCREV_pn-uclibc ?= "25712"
> diff --git a/recipes/u-boot/u-boot-bug_svn.bb b/recipes/u-boot/u-boot-bug_svn.bb
> new file mode 100644
> index 0000000..c1930f4
> --- /dev/null
> +++ b/recipes/u-boot/u-boot-bug_svn.bb
> @@ -0,0 +1,37 @@
> +DESCRIPTION = "U-boot bootloader w/ BUG support"
> +LICENSE = "GPL"
> +SECTION = "bootloader"
> +PRIORITY = "optional"
> +PV = "1.3.2+svnr${SRCREV}"
> +SRCREV = "${AUTOREV}"
> +PR = "r6"
> +
> +SRC_URI = "\
> +  svn://svn.buglabs.net/bug/branches/R1.4/qa;module=u-boot;proto=svn \
> +"
> +S = "${WORKDIR}/u-boot"
> +
> +COMPATIBLE_MACHINE = "bug"
> +PACKAGE_ARCH = "${MACHINE}"
> +
> +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
> +TARGET_LDFLAGS = ""
> +
> +do_compile () {
> +    oe_runmake mx31_bug2_config
> +    oe_runmake clean
> +    oe_runmake all
> +}
> +
> +do_deploy () {
> +    install -d ${DEPLOY_DIR_IMAGE}
> +    install -m 0644 ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin
> +    ln -sf ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin ${DEPLOY_DIR_IMAGE}/uboot-latest.bin
> +}
> +
> +do_stage() {
> +    install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/mkimage
> +}
> +
> +do_deploy[dirs] = "${S}"
> +addtask deploy before do_package after do_install
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3303 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090505/4b4594af/attachment-0002.bin>


More information about the Openembedded-devel mailing list