diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/uboot/uboot-vibren-pxa255idp_cvs.bb | 4 | ||||
-rw-r--r-- | packages/uboot/uboot_cvs.bb | 32 |
2 files changed, 36 insertions, 0 deletions
diff --git a/packages/uboot/uboot-vibren-pxa255idp_cvs.bb b/packages/uboot/uboot-vibren-pxa255idp_cvs.bb index e69de29bb2..870f330ac8 100644 --- a/packages/uboot/uboot-vibren-pxa255idp_cvs.bb +++ b/packages/uboot/uboot-vibren-pxa255idp_cvs.bb @@ -0,0 +1,4 @@ +include uboot_cvs.bb + +UBOOT_MACHINE = "pxa255_idp_config" +SRC_URI += "ftp://bec-systems.com/pub/pxa255_idp/u-boot/uboot_pxa255-idp_2005-03-02.patch;patch=1" diff --git a/packages/uboot/uboot_cvs.bb b/packages/uboot/uboot_cvs.bb index e69de29bb2..67a05a9b25 100644 --- a/packages/uboot/uboot_cvs.bb +++ b/packages/uboot/uboot_cvs.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "U-boot bootloader" +SECTION = "bootloader" +MAINTAINER = "Cliff Brake <cliff.brake@gmail.com>" +PRIORITY = "optional" +LICENSE = "GPL" +PV = "0.0cvs${CVSDATE}" +PR = "r1" + +PROVIDES = "virtual/bootloader" + +S = "${WORKDIR}/u-boot" + +SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/u-boot;module=u-boot \ + file://arm_flags.patch;patch=1" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +TARGET_LDFLAGS = "" +UBOOT_MACHINE ?= "${MACHINE}" + +inherit base + +do_compile () { + oe_runmake ${UBOOT_MACHINE} + oe_runmake all +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/u-boot.bin +} +do_deploy[dirs] = "${S}" +addtask deploy before do_build after do_compile |