From c61542ba4b1cf250459cc2e68e8739902492c613 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Sun, 5 Apr 2020 15:08:52 +0200 Subject: u-boot-distro-boot: PROVIDES u-boot-default-script A new virtual recipe u-boot-default-script has been introduced in meta-freescale-3rdparty and it's being included by WKS_FILE_DEPENDS, u-boot-distro-boot should PROVIDES it. Also change to deploy boot.scr-${MACHINE} instead of boot.scr, to be consistent with other u-boot-default-script recipes. Signed-off-by: Ming Liu --- recipes-bsp/u-boot/u-boot-distro-boot.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/u-boot/u-boot-distro-boot.bb b/recipes-bsp/u-boot/u-boot-distro-boot.bb index f7a5ae9..99d6b15 100644 --- a/recipes-bsp/u-boot/u-boot-distro-boot.bb +++ b/recipes-bsp/u-boot/u-boot-distro-boot.bb @@ -19,9 +19,11 @@ do_deploy() { "${WORKDIR}/boot.cmd.in" > boot.cmd mkimage -T script -C none -n "Distro boot script" -d boot.cmd boot.scr - install -m 0644 boot.scr ${DEPLOYDIR} + install -m 0644 boot.scr ${DEPLOYDIR}/boot.scr-${MACHINE} } addtask deploy after do_install before do_build +PROVIDES += "u-boot-default-script" + PACKAGE_ARCH = "${MACHINE_ARCH}" -- cgit v1.2.3