1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-11 15:00:39 +00:00

arm-toolchain: fix for WORKDIR changes

Fallout from the upstream WORKDIR changes.  do_copy_locale expects
SUPPORTED to be in WORKDIR, but recent changes have made it so that the
source/unpack location is no  longer WORKDIR and cannot be pointed to
be such.  So, do this copy manually here.

Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Jon Mason
2024-06-24 10:15:57 -04:00
parent 8024166d6c
commit 751e4817c9

View File

@@ -56,8 +56,16 @@ PV = "${EAT_VER_MAIN}"
BINV = "${EAT_VER_GCC}"
SRC_URI = "file://SUPPORTED"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
do_install() {
# do_copy_locale expects SUPPORTED to be in WORKDIR, but recent
# changes have made it so that the source/unpack location is no
# longer WORKDIR and cannot be pointed to be such. So, do this
# copy manually here
install -m 0644 ${UNPACKDIR}/SUPPORTED ${WORKDIR}/SUPPORTED
# Add stubs for files OE-core expects
install -d ${S}/nscd/
touch ${S}/nscd/nscd.init