The recipe was mixing different concepts. It is intended to provide a
TCL script to change the endianess of files and the recipe was
conceptually wrong.
The use of the deploy class is wrong as it is not an artifact that is
going to be used to install a board but a tool required for
development (so the need of native and nativesdk variants).
Change-Id: I5ebb063fa1c57a8c7c307314ac6322abfa88d33c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
SRC_URI = "file://byte_swap.tcl"
-RDEPENDS += "tcl-native"
-
-inherit native deploy
-
S = "${WORKDIR}"
do_configure[noexec] = "1"
install -m 755 ${WORKDIR}/byte_swap.tcl ${D}/${bindir}
}
-do_deploy () {
- :
-}
-
-do_deploy_class-native () {
- install -d ${DEPLOYDIR}
- cp -f ${S}/byte_swap.tcl ${DEPLOYDIR}/
-}
-addtask deploy before do_build after do_populate_sysroot
+RDEPENDS_${PN} += "tcl"
BBCLASSEXTEND = "native nativesdk"