Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9C3C6E00C92; Tue, 8 Sep 2015 11:41:05 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [206.46.173.17 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from vms173017pub.verizon.net (vms173017pub.verizon.net [206.46.173.17]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E1567E00B3F for ; Tue, 8 Sep 2015 11:41:03 -0700 (PDT) Received: from gandalf.denix.org ([108.51.169.48]) by vms173017.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPSA id <0NUD00EZYFVYUP00@vms173017.mailsrvcs.net> for meta-ti@yoctoproject.org; Tue, 08 Sep 2015 13:40:47 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=Nc0brD34 c=1 sm=1 tr=0 a=x3PDphkivVtATbYodTxRAw==:117 a=0gcC27t9AAAA:8 a=oR5dmqMzAAAA:8 a=ff-B7xzCdYMA:10 a=sozttTNsAAAA:8 a=J4j9wOCsBbY3bftKbdcA:9 Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id 6C3BC161BDA; Tue, 8 Sep 2015 14:40:46 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Tue, 08 Sep 2015 14:40:45 -0400 Message-id: <1441737645-21888-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.2.0 Subject: [PATCH] boot-monitor: also package resulting skern file into /boot X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2015 18:41:05 -0000 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- recipes-bsp/boot-monitor/boot-monitor_git.bb | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb b/recipes-bsp/boot-monitor/boot-monitor_git.bb index c353488..d64cba7 100644 --- a/recipes-bsp/boot-monitor/boot-monitor_git.bb +++ b/recipes-bsp/boot-monitor/boot-monitor_git.bb @@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}" PV = "2.0+git${SRCPV}" -PR = "r4" +PR = "r5" BRANCH = "master" @@ -24,6 +24,10 @@ FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURE EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"" +FILES_${PN} = "/boot" + +inherit deploy + do_compile () { unset LDFLAGS unset CFLAGS @@ -31,11 +35,14 @@ do_compile () { oe_runmake ${BOOT_MONITOR_MAKE_TARGET} } -inherit deploy - -addtask deploy before do_build after do_compile +do_install () { + install -d ${D}/boot + install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${D}/boot/${BOOT_MONITOR_IMAGE} +} do_deploy () { install -d ${DEPLOYDIR} - install ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE} + install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE} } + +addtask deploy before do_build after do_compile -- 2.2.0