diff options
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.bb | 24 |
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 @@ | |||
| 1 | require recipes-bsp/u-boot/u-boot.inc | ||
| 2 | require u-boot-ls1.inc | ||
| 3 | inherit fsl-u-boot-localversion | ||
| 4 | |||
| 5 | LOCALVERSION ?= "-${SRCBRANCH}" | ||
| 6 | |||
| 7 | DEPENDS += "u-boot-ls1-tools-native" | ||
| 8 | PROVIDES += "u-boot" | ||
| 9 | |||
| 10 | do_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 | |||
| 17 | PACKAGES += "${PN}-images" | ||
| 18 | FILES_${PN}-images += "/boot" | ||
| 19 | |||
| 20 | ALLOW_EMPTY_${PN} = "1" | ||
| 21 | |||
| 22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 23 | COMPATIBLE_MACHINE = "(ls102xa)" | ||
| 24 | |||
