aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/change-file-endianess/change-file-endianess.bb
blob: 2ad8c588285c00d1c52989bbe6134dc10d997362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "provides the tcl script for endian swap"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"


SRC_URI = "file://byte_swap.tcl"

RDEPENDS += "tcl-native"

inherit native

S = "${WORKDIR}"

do_configure[noexec] = "1"
do_compile[noexec] = "1"

do_install () {
    install -d ${D}/${bindir}
    install -m 755 ${WORKDIR}/byte_swap.tcl ${D}/${bindir}
}

BBCLASSEXTEND = "native nativesdk"