summaryrefslogtreecommitdiffstats
path: root/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb')
-rw-r--r--meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb
new file mode 100644
index 000000000..96944c1c0
--- /dev/null
+++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb
@@ -0,0 +1,24 @@
1require recipes-bsp/u-boot/u-boot.inc
2require u-boot-ls1.inc
3inherit fsl-u-boot-localversion
4
5LOCALVERSION ?= "-${SRCBRANCH}"
6
7DEPENDS += "u-boot-ls1-tools-native"
8PROVIDES += "u-boot"
9
10do_compile_append () {
11 case "${UBOOT_MACHINE}" in
12 *spi*) tclsh byte_swap.tcl ${S}/u-boot.bin ${S}/u-boot.swap.bin 8
13 mv ${S}/u-boot.swap.bin ${S}/u-boot.bin;;
14 esac
15}
16
17PACKAGES += "${PN}-images"
18FILES_${PN}-images += "/boot"
19
20ALLOW_EMPTY_${PN} = "1"
21
22PACKAGE_ARCH = "${MACHINE_ARCH}"
23COMPATIBLE_MACHINE = "(ls102xa)"
24