All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Orling <tim.orling@konsulko.com>
To: meta-virtualization@lists.yoctoproject.org
Cc: Tim Orling <tim.orling@konsulko.com>
Subject: [meta-virtualization][PATCH v2 2/2] xen-rpi-u-boot-scr: replace UBOOT_ARCH
Date: Wed, 25 Nov 2026 14:57:09 -0800	[thread overview]
Message-ID: <20261125225836.83743-2-tim.orling@konsulko.com> (raw)
In-Reply-To: <20261125225836.83743-1-tim.orling@konsulko.com>

Since oe-core:
bdcd04bbc5 "kernel-arch: Drop UBOOT_ARCH", we should just use the
oe.kernel.map_uboot_arch(d) call directly. This was the only
reason for inheriting kernel-arch, so we can drop it.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
v2: resend so the author is tim.orling@konsulko.com (v1 arrived as ticotimo@gmail.com)

 .../recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
index e25963ad..7e7b2f6a 100644
--- a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
+++ b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
@@ -19,10 +19,10 @@ do_compile() {
         -e 's/@@RPI_DEBUG_XEN_ARGS@@/${RPI_DEBUG_XEN_ARGS}/' \
         "${UNPACKDIR}/boot.cmd.xen.in" > "${WORKDIR}/boot.cmd"
 
-    mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
+    mkimage -A ${@oe.kernel.map_uboot_arch(d)} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
 }
 
-inherit kernel-arch deploy nopackages
+inherit deploy nopackages
 
 S = "${UNPACKDIR}"
 
-- 
2.56.1


  reply	other threads:[~2026-11-25 22:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 22:57 [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Tim Orling
2026-11-25 22:57 ` Tim Orling [this message]
2026-11-30  3:24   ` [meta-virtualization][PATCH v2 2/2] xen-rpi-u-boot-scr: replace UBOOT_ARCH Bruce Ashfield
2026-11-30  3:24 ` [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Bruce Ashfield
2026-11-30  3:28   ` Tim Orling
2026-11-30  3:29     ` Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261125225836.83743-2-tim.orling@konsulko.com \
    --to=tim.orling@konsulko.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.