diff options
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.04.bb')
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.04.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.04.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.04.bb new file mode 100644 index 000000000..3981b6043 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.04.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | DESCRIPTION = "U-boot bootloader mxsboot tool" | ||
| 2 | LICENSE = "GPLv2+" | ||
| 3 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=c7383a594871c03da76b3707929d2919" | ||
| 4 | SECTION = "bootloader" | ||
| 5 | DEPENDS = "openssl" | ||
| 6 | PROVIDES = "u-boot-mxsboot" | ||
| 7 | |||
| 8 | PV = "v2015.04+git${SRCPV}" | ||
| 9 | |||
| 10 | SRCREV = "10aced37cecf117e54e71bd700228f57dc34e579" | ||
| 11 | SRCBRANCH = "patches-2015.04" | ||
| 12 | |||
| 13 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit fsl-u-boot-localversion | ||
| 18 | |||
| 19 | EXTRA_OEMAKE = 'HOSTCC="${CC} ${CPPFLAGS}" HOSTLDFLAGS="-L${libdir} -L${base_libdir}" HOSTSTRIP=true CONFIG_MX28=y' | ||
| 20 | |||
| 21 | do_configure () { | ||
| 22 | oe_runmake sandbox_defconfig | ||
| 23 | } | ||
| 24 | |||
| 25 | do_compile () { | ||
| 26 | oe_runmake tools-only | ||
| 27 | } | ||
| 28 | |||
| 29 | do_install () { | ||
| 30 | install -d ${D}${bindir} | ||
| 31 | install -m 0755 tools/mxsboot ${D}${bindir}/uboot-mxsboot | ||
| 32 | ln -sf uboot-mxsboot ${D}${bindir}/mxsboot | ||
| 33 | } | ||
| 34 | |||
| 35 | BBCLASSEXTEND = "native nativesdk" | ||
