mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
llvm: extend llvm-config reproducibility fix to nativesdk class
It's not limited to "target", but also happens to nativesdk: ERROR: nativesdk-llvm-18.1.8-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-config in package nativesdk-llvm contains reference to TMPDIR [buildpaths] (From OE-Core rev: 714a99a9ba1aff458c1743ad8be9b38ee106b58f) Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3e5bd11cdf
commit
d42166b0de
@@ -99,6 +99,10 @@ do_compile:prepend:class-target() {
|
||||
sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc
|
||||
}
|
||||
|
||||
do_compile:prepend:class-nativesdk() {
|
||||
sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'libllvm', 'true', 'false', d)}; then
|
||||
ninja -v ${PARALLEL_MAKE}
|
||||
|
||||
Reference in New Issue
Block a user