Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by arago-project.org (Postfix) with ESMTPS id 7C6F8529D2 for ; Fri, 7 Oct 2016 20:56:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 7540C20918; Fri, 7 Oct 2016 20:56:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ki9dGnACwV2C; Fri, 7 Oct 2016 20:56:16 +0000 (UTC) Received: from gandalf.denix.org (pool-100-15-106-107.washdc.fios.verizon.net [100.15.106.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 558AB2001E; Fri, 7 Oct 2016 20:56:15 +0000 (UTC) Received: from sam.denix (sam [192.168.0.5]) by gandalf.denix.org (Postfix) with ESMTP id A048316216D; Fri, 7 Oct 2016 16:56:14 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@arago-project.org Date: Fri, 7 Oct 2016 16:56:14 -0400 Message-Id: <1475873774-22592-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH] u-boot-ti-staging: also copy HS_MLO variant X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2016 20:56:17 -0000 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- .../u-boot/u-boot-ti-staging_2016.05.bbappend | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bbappend diff --git a/meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bbappend b/meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bbappend new file mode 100644 index 0000000..2d13b24 --- /dev/null +++ b/meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bbappend @@ -0,0 +1,20 @@ +# HS MLO +UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO" +UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}" +UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}" + +do_install_append () { + if [ -f ${S}/${UBOOT_HS_MLO_BINARY} ]; then + install ${S}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE} + ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY} + fi +} + +do_deploy_append () { + if [ -f ${S}/${UBOOT_HS_MLO_BINARY} ]; then + install ${S}/${UBOOT_HS_MLO_BINARY} ${DEPLOYDIR}/${UBOOT_HS_MLO_IMAGE} + rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK} + ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK} + ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY} + fi +} -- 2.7.4