images are required to be included in full rootfs.
Signed-off-by: Ting Liu <b28495@freescale.com>
DESCRIPTION = "Reset Control Words (RCW)"
SECTION = "rcw"
LICENSE = "BSD"
-PR = "r3"
+PR = "r4"
LIC_FILES_CHKSUM = " \
file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
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"