diff mbox series

[meta-rockchip,2/2] bsp: rkbin-native: fix build since ${WORKDIR} isn't allowed in S anymore

Message ID 20250625-s-unpackdir-v1-2-6f45466478d8@cherry.de
State New
Headers show
Series bsp: rkbin: fix build issues around S and WORKDIR | expand

Commit Message

Quentin Schulz June 25, 2025, 12:07 p.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

Since commit 46480a5e6674 ("insane/do_qa_unpack: add checks that ensure
S is set correctly") it is not allowed to have S refer to WORKDIR
directly and we should instead use UNPACKDIR.

The default path of S is ${UNPACKDIR}/${BP} which is where the git
fetcher will unpack the sources. However, we want to go into the tools/
directory, hence S being ${UNPACKDIR}/${BP}/tools now.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 recipes-bsp/rkbin/rockchip-rkbin-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-bsp/rkbin/rockchip-rkbin-native_git.bb b/recipes-bsp/rkbin/rockchip-rkbin-native_git.bb
index 2adccdd59bbf454bd5264d503d6d5883b94c472d..71d4246028102563fc2a3c23744eea1411770735 100644
--- a/recipes-bsp/rkbin/rockchip-rkbin-native_git.bb
+++ b/recipes-bsp/rkbin/rockchip-rkbin-native_git.bb
@@ -7,7 +7,7 @@  LIC_FILES_CHKSUM = "file://../LICENSE;md5=11e3673115959bf596feaaa6ea7ce9a5"
 
 inherit native
 
-S = "${WORKDIR}/git/tools"
+S = "${UNPACKDIR}/${BP}/tools"
 
 # ddrbin_tool.py only uses python and core modules.
 # Yocto depends on a host python anyway so we can simply ignore that dependency