From: Otavio Salvador Date: Thu, 9 Mar 2017 14:34:11 +0000 (-0300) Subject: change-file-endianess: Rework recipe completely X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ca6203da00d224b236b93869151e09b167358d10;p=meta-freescale.git change-file-endianess: Rework recipe completely 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 --- diff --git a/recipes-bsp/change-file-endianess/change-file-endianess.bb b/recipes-bsp/change-file-endianess/change-file-endianess.bb index 9cf2212e..fc98b015 100644 --- a/recipes-bsp/change-file-endianess/change-file-endianess.bb +++ b/recipes-bsp/change-file-endianess/change-file-endianess.bb @@ -5,10 +5,6 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d SRC_URI = "file://byte_swap.tcl" -RDEPENDS += "tcl-native" - -inherit native deploy - S = "${WORKDIR}" do_configure[noexec] = "1" @@ -19,14 +15,6 @@ do_install () { 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"