]> code.ossystems Code Review - meta-freescale.git/commitdiff
make sure hv-cfg and rcw binaries are included in cache packages
authorZhenhua Luo <b19537@freescale.com>
Sat, 31 Dec 2011 13:49:39 +0000 (13:49 +0000)
committerMatthew McClintock <msm@freescale.com>
Mon, 2 Jan 2012 21:46:02 +0000 (15:46 -0600)
    fix the rcw and hv-cfg binaries are not generated when do cache build

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb
meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb

index 855c55d2515d5a6702a845c9ac90a8a51da1365d..d05620269561f475e1a5c7ce894ebf38694fff93 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Hypervisor Config"
 SECTION = "hv-cfg"
 LICENSE = "BSD"
-PR = "r2"
+PR = "r3"
 
 LIC_FILES_CHKSUM = " \
        file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
@@ -30,6 +30,9 @@ do_deploy () {
        M=`echo ${MACHINE} | sed s/-64b//g`
        mkdir -p ${DEPLOY_DIR_IMAGE}/hv-cfg
        cp -r ${S}/${M}/${M} ${DEPLOY_DIR_IMAGE}/hv-cfg
+
+       install -d ${DEPLOYDIR}/hv-cfg
+       cp -r ${S}/${M}/${M} ${DEPLOYDIR}/hv-cfg
 }
 addtask deploy after do_install
 
index 1bb0b17e0eb1fb3031db19ddeb32017e647c4c4a..99a0d749bfc3f8c0e1eb88d966a9e52a922a81cd 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Reset Control Words (RCW)"
 SECTION = "rcw"
 LICENSE = "BSD"
-PR = "r1"
+PR = "r2"
 
 LIC_FILES_CHKSUM = " \
        file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
@@ -28,6 +28,9 @@ do_deploy () {
        M=`echo ${MACHINE} | sed s/-64b//g`
        mkdir -p ${DEPLOY_DIR_IMAGE}/rcw
        cp -r ${S}/${M}/${M} ${DEPLOY_DIR_IMAGE}/rcw
+
+       install -d ${DEPLOYDIR}/rcw
+       cp -r ${S}/${M}/${M} ${DEPLOYDIR}/rcw
 }
 addtask deploy after do_install