blob: 7b4fb583a861b11e1f5e7ee28360667c965a720c (
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
|
require recipes-bsp/u-boot/u-boot.inc
require u-boot-ls1.inc
inherit fsl-u-boot-localversion
LOCALVERSION ?= "-${SRCBRANCH}"
DEPENDS += "u-boot-ls1-tools-native"
PROVIDES += "u-boot"
do_compile_append () {
case "${UBOOT_MACHINE}" in
*spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/u-boot.bin ${S}/u-boot.swap.bin 8
mv ${S}/u-boot.swap.bin ${S}/u-boot.bin;;
*sdcard*) mv ${S}/u-boot-with-spl-pbl.bin ${S}/u-boot.bin;;
esac
}
PACKAGES += "${PN}-images"
FILES_${PN}-images += "/boot"
ALLOW_EMPTY_${PN} = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ls102xa)"
|