bsp: rkbin-native: fix build since ${WORKDIR} isn't allowed in S anymore

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.

Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
This commit is contained in:
Quentin Schulz 2025-06-25 14:07:14 +02:00 committed by Trevor Woerner
parent e59f6fcb66
commit 61505560d4

View File

@ -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