u-boot-bug: Drop do_stage (not needed), add package_stagefile_shell to deploy
authorTom Rini <tom_rini@mentor.com>
Fri, 20 Aug 2010 17:10:14 +0000 (10:10 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 20 Aug 2010 17:10:14 +0000 (10:10 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/u-boot/u-boot-bug_svn.bb

index dffeea1..f104023 100644 (file)
@@ -4,7 +4,7 @@ SECTION = "bootloader"
 PRIORITY = "optional"
 PV = "1.3.2+svnr${SRCPV}"
 SRCREV = "8674"
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "\
   svn://svn.buglabs.net/bug/branches/R1.4/qa;module=u-boot;proto=svn \
@@ -26,11 +26,9 @@ do_compile () {
 do_deploy () {
     install -d ${DEPLOY_DIR_IMAGE}
     install -m 0644 ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin
+    package_stagefile_shell ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin
     ln -sf ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin ${DEPLOY_DIR_IMAGE}/uboot-latest.bin
-}
-
-do_stage() {
-    install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/mkimage
+    package_stagefile_shell ${DEPLOY_DIR_IMAGE}/uboot-latest.bin
 }
 
 do_deploy[dirs] = "${S}"