diff options
author | Ting Liu <b28495@freescale.com> | 2012-06-06 09:45:21 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2012-07-10 20:10:43 -0700 |
commit | 82dacc0689e443b4d3f1dec80ce22102916aa21a (patch) | |
tree | a906ec64eba5f6a5c06b18651789b4c55d0fdea0 | |
parent | 121743e0621db199e84c581923e346aae5b6930a (diff) | |
download | meta-fsl-ppc-82dacc0689e443b4d3f1dec80ce22102916aa21a.tar.gz |
rcw: package images to rcw-image
images are required to be included in full rootfs.
Signed-off-by: Ting Liu <b28495@freescale.com>
-rw-r--r-- | recipes-tools/rcw/rcw_git.bb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/recipes-tools/rcw/rcw_git.bb b/recipes-tools/rcw/rcw_git.bb index af8db7d..ff1b99f 100644 --- a/recipes-tools/rcw/rcw_git.bb +++ b/recipes-tools/rcw/rcw_git.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | DESCRIPTION = "Reset Control Words (RCW)" | 1 | DESCRIPTION = "Reset Control Words (RCW)" |
2 | SECTION = "rcw" | 2 | SECTION = "rcw" |
3 | LICENSE = "BSD" | 3 | LICENSE = "BSD" |
4 | PR = "r3" | 4 | PR = "r4" |
5 | 5 | ||
6 | LIC_FILES_CHKSUM = " \ | 6 | LIC_FILES_CHKSUM = " \ |
7 | file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ | 7 | file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ |
@@ -21,13 +21,22 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git" | |||
21 | 21 | ||
22 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
23 | 23 | ||
24 | do_deploy () { | 24 | do_install () { |
25 | make install | 25 | make install |
26 | 26 | ||
27 | M=`echo ${MACHINE} | sed s/-64b//g` | 27 | M=`echo ${MACHINE} | sed s/-64b//g` |
28 | install -d ${D}/boot/rcw | ||
29 | cp -r ${S}/${M}/${M}/* ${D}/boot/rcw | ||
30 | } | ||
31 | |||
32 | do_deploy () { | ||
33 | M=`echo ${MACHINE} | sed s/-64b//g` | ||
28 | install -d ${DEPLOYDIR}/rcw | 34 | install -d ${DEPLOYDIR}/rcw |
29 | cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/rcw | 35 | cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/rcw |
30 | } | 36 | } |
31 | addtask deploy after do_install | 37 | addtask deploy after do_install |
32 | 38 | ||
39 | PACKAGES += "${PN}-image" | ||
40 | FILES_${PN}-image += "/boot" | ||
41 | |||
33 | ALLOW_EMPTY_${PN} = "1" | 42 | ALLOW_EMPTY_${PN} = "1" |