]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blobdiff - recipes-bsp/u-boot/u-boot.inc
u-boot.inc: remove package_stagefile_shell call
[glsdk/meta-ti-glsdk.git] / recipes-bsp / u-boot / u-boot.inc
index 3859a4c3d60402ead90c090762990edc4add27b8..36dab1a1ed54a365cf0d4e73ab97187d802f438c 100644 (file)
@@ -18,6 +18,7 @@ UBOOT_MACHINE ?= "${MACHINE}_config"
 UBOOT_BINARY ?= "u-boot.bin"
 UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
 UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
+UBOOT_MAKE_TARGET ?= "all"
 
 do_configure () {
        oe_runmake ${UBOOT_MACHINE}
@@ -27,7 +28,7 @@ do_compile () {
        unset LDFLAGS
        unset CFLAGS
        unset CPPFLAGS
-       oe_runmake all
+       oe_runmake ${UBOOT_MAKE_TARGET}
        oe_runmake tools env
 }
 
@@ -58,12 +59,10 @@ INSANE_SKIP_${PN}-fw-utils = True
 do_deploy () {
        install -d ${DEPLOY_DIR_IMAGE}
        install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
-       package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
 
        cd ${DEPLOY_DIR_IMAGE}
        rm -f ${UBOOT_SYMLINK}
        ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
-       package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${UBOOT_SYMLINK}
 }
 do_deploy[dirs] = "${S}"
 addtask deploy before do_package_stage after do_compile