blob: b67a53ce2ee3fa30052c5e8fb24c2d6ffeba21f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
require u-boot-fslc-common_${PV}.inc
DESCRIPTION = "U-boot bootloader mxsboot tool"
SECTION = "bootloader"
DEPENDS_append = " openssl"
PROVIDES = "u-boot-mxsboot"
EXTRA_OEMAKE = 'HOSTCC="${CC} ${CPPFLAGS}" HOSTLDFLAGS="-L${libdir} -L${base_libdir}" HOSTSTRIP=true CONFIG_MX28=y'
do_configure () {
oe_runmake sandbox_defconfig
}
do_compile () {
oe_runmake tools-only
}
do_install () {
install -d ${D}${bindir}
install -m 0755 tools/mxsboot ${D}${bindir}/uboot-mxsboot
ln -sf uboot-mxsboot ${D}${bindir}/mxsboot
}
BBCLASSEXTEND = "native nativesdk"
|