diff options
Diffstat (limited to 'recipes-bsp/change-file-endianess/change-file-endianess.bb')
| -rw-r--r-- | recipes-bsp/change-file-endianess/change-file-endianess.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-bsp/change-file-endianess/change-file-endianess.bb b/recipes-bsp/change-file-endianess/change-file-endianess.bb new file mode 100644 index 000000000..2ad8c5882 --- /dev/null +++ b/recipes-bsp/change-file-endianess/change-file-endianess.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | DESCRIPTION = "provides the tcl script for endian swap" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
| 4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 5 | |||
| 6 | |||
| 7 | SRC_URI = "file://byte_swap.tcl" | ||
| 8 | |||
| 9 | RDEPENDS += "tcl-native" | ||
| 10 | |||
| 11 | inherit native | ||
| 12 | |||
| 13 | S = "${WORKDIR}" | ||
| 14 | |||
| 15 | do_configure[noexec] = "1" | ||
| 16 | do_compile[noexec] = "1" | ||
| 17 | |||
| 18 | do_install () { | ||
| 19 | install -d ${D}/${bindir} | ||
| 20 | install -m 755 ${WORKDIR}/byte_swap.tcl ${D}/${bindir} | ||
| 21 | } | ||
| 22 | |||
| 23 | BBCLASSEXTEND = "native nativesdk" | ||
