diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27 | ||||
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot_2013.07.bb | 23 |
2 files changed, 50 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file mode 100644 index 0000000000..0108e0059f --- /dev/null +++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | DESCRIPTION = "U-boot bootloader mkimage tool" | ||
2 | LICENSE = "GPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ | ||
4 | file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab" | ||
5 | SECTION = "bootloader" | ||
6 | |||
7 | SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2" | ||
8 | |||
9 | SRC_URI[md5sum] = "8445162690052e6afd4b8f87af2bb557" | ||
10 | SRC_URI[sha256sum] = "2bbd440c1b29928d230604eac372fda5152d3ae23f52b1910c77fc5bf531250b" | ||
11 | |||
12 | S = "${WORKDIR}/u-boot-${PV}" | ||
13 | |||
14 | BBCLASSEXTEND = "native nativesdk" | ||
15 | |||
16 | EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' | ||
17 | |||
18 | do_compile () { | ||
19 | oe_runmake tools | ||
20 | } | ||
21 | |||
22 | do_install () { | ||
23 | install -d ${D}${bindir} | ||
24 | install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage | ||
25 | ln -sf uboot-mkimage ${D}${bindir}/mkimage | ||
26 | } | ||
27 | |||
diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file mode 100644 index 0000000000..f3f4b62bc5 --- /dev/null +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | require u-boot.inc | ||
2 | |||
3 | # To build u-boot for your machine, provide the following lines in your machine | ||
4 | # config, replacing the assignments as appropriate for your machine. | ||
5 | # UBOOT_MACHINE = "omap3_beagle_config" | ||
6 | # UBOOT_ENTRYPOINT = "0x80008000" | ||
7 | # UBOOT_LOADADDRESS = "0x80008000" | ||
8 | |||
9 | LICENSE = "GPLv2+" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ | ||
11 | file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab" | ||
12 | |||
13 | # This revision corresponds to the tag "v2013.07" | ||
14 | # We use the revision in order to avoid having to fetch it from the repo during parse | ||
15 | SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c" | ||
16 | |||
17 | PV = "v2013.07+git${SRCPV}" | ||
18 | |||
19 | SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||