From: Ting Liu Date: Wed, 6 Jun 2012 09:45:21 +0000 (+0000) Subject: rcw: package images to rcw-image X-Git-Tag: 2.1~534^2~447 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=684547eaab363ee951bde91e28b7b6b26d997d11;p=meta-freescale.git rcw: package images to rcw-image images are required to be included in full rootfs. Signed-off-by: Ting Liu --- diff --git a/meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb b/meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb index af8db7d2..ff1b99f4 100644 --- a/meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb +++ b/meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Reset Control Words (RCW)" SECTION = "rcw" LICENSE = "BSD" -PR = "r3" +PR = "r4" LIC_FILES_CHKSUM = " \ file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ @@ -21,13 +21,22 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git" S = "${WORKDIR}/git" -do_deploy () { +do_install () { make install + M=`echo ${MACHINE} | sed s/-64b//g` + install -d ${D}/boot/rcw + cp -r ${S}/${M}/${M}/* ${D}/boot/rcw +} + +do_deploy () { M=`echo ${MACHINE} | sed s/-64b//g` install -d ${DEPLOYDIR}/rcw cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/rcw } addtask deploy after do_install +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/boot" + ALLOW_EMPTY_${PN} = "1"