From 434ed33c90b7659152b1e8d7c2d4d785db85105f Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 20 Jun 2024 14:53:48 +0300 Subject: [PATCH] rpi-u-boot-scr: WORKDIR -> UNPACKDIR transition This adapts to the oe-core rework to enforce a separate directory for unpacking local sources (UNPACKDIR) instead of directly using WORKDIR. Follows the preliminary guideline from: https://lists.openembedded.org/g/openembedded-architecture/message/2007 Signed-off-by: Leon Anavi --- recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb b/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb index bbd87362..d035d6e4 100644 --- a/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +++ b/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb @@ -21,6 +21,9 @@ do_compile() { inherit kernel-arch deploy nopackages +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + do_deploy() { install -d ${DEPLOYDIR} install -m 0644 boot.scr ${DEPLOYDIR}