diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-07 16:25:54 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-10 12:06:34 -0400 |
commit | d4d38760842d0022057479f8e65a8cebc7bb94d8 (patch) | |
tree | 0bd8b971c59b7448c26c25a1c5e4a680996547f5 /meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.05.bb | |
parent | 3448f58a44816aa71d11d52aadee4c7e9a3cea4b (diff) | |
download | talos-openbmc-d4d38760842d0022057479f8e65a8cebc7bb94d8.tar.gz talos-openbmc-d4d38760842d0022057479f8e65a8cebc7bb94d8.zip |
Add a u-boot 2016.05 recipe
Adding a 2016.05 u-boot for the AST2500. AST2400 remains on
2013.07.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.05.bb')
-rw-r--r-- | meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.05.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.05.bb b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.05.bb new file mode 100644 index 000000000..eed5f9c1f --- /dev/null +++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.05.bb @@ -0,0 +1,29 @@ +SUMMARY = "U-Boot bootloader image creation tool" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" +SECTION = "bootloader" + +DEPENDS = "openssl" + +SRCREV = "d0847e6b3eda43d4d2b4f9928a549c3c2d52865f" +UBRANCH = "v2016.05-ast2500" +SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https" + +PV = "v2016.05+git${SRCPV}" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1' + +do_compile () { + oe_runmake sandbox_defconfig + oe_runmake cross_tools NO_SDL=1 +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage + ln -sf uboot-mkimage ${D}${bindir}/mkimage +} + +BBCLASSEXTEND = "native nativesdk" |