xen-rpi-u-boot-scr: fix UNPACKDIR
PATCH v2 1/2 xen-rpi-u-boot-scr: fix UNPACKDIR
Since oe-core:f19ea21c8eb "bitbake.conf: set UNPACKDIR to just 'sources' and not 'sources-unpack'" UNPACKDIR defaults to ${WORKDIR}/sources, so we can drop the redundant definition.
Since oe-core:46480a5e66 "insane/do_qa_unpack: add checks that ensure S is set correctly" S = "${UNPACKDIR}" is needed.
---
v2: resend so the author is [email protected] (v1 arrived as [email protected])
.../recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb +1 -2
@@ -24,8 +24,7 @@ do_compile() { inherit kernel-arch deploy nopackages -S = "${WORKDIR}/sources" -UNPACKDIR = "${S}" +S = "${UNPACKDIR}" do_deploy() { install -d ${DEPLOYDIR}
Signature · 1 line
2.56.1
PATCH v2 2/2 xen-rpi-u-boot-scr: replace UBOOT_ARCH
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.
---
v2: resend so the author is [email protected] (v1 arrived as [email protected])
.../recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb +2 -2
@@ -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}"
Signature · 1 line
2.56.1