meta-rockchip/recipes-bsp/rkbin/rockchip-rkbin-native_git.bb
Quentin Schulz 61505560d4 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>
2025-06-25 11:44:07 -04:00

22 lines
716 B
BlitzBasic

DESCRIPTION = "Rockchip native tools related to their rkbin blobs, e.g. ddrbin_tool.py"
SRC_URI = "git://github.com/rockchip-linux/rkbin;protocol=https;branch=master"
SRCREV = "f43a462e7a1429a9d407ae52b4745033034a6cf9"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=11e3673115959bf596feaaa6ea7ce9a5"
inherit native
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
# and have ddrbin_tool.py run with the host's python instead of building python
# natively.
# DEPENDS = "python3-native"
do_install() {
install -d "${D}${bindir}"
install -m 0755 ddrbin_tool.py "${D}${bindir}"
}