mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 13:40:04 +00:00
llvm: move cross script install to separate sysroot preprocess function
The llvm-config2.x script doesn't get placed in the target sysroot crosscripts directory otherwise. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
90e34fa05a
commit
4704e25200
@@ -141,6 +141,12 @@ do_install() {
|
|||||||
# later for native case
|
# later for native case
|
||||||
install -d ${D}${bindir}
|
install -d ${D}${bindir}
|
||||||
install -m 0755 bin/llvm-config ${D}${bindir}
|
install -m 0755 bin/llvm-config ${D}${bindir}
|
||||||
|
}
|
||||||
|
|
||||||
|
SYSROOT_PREPROCESS_FUNCS_append_class-target = " llvm_sysroot_preprocess"
|
||||||
|
|
||||||
|
llvm_sysroot_preprocess() {
|
||||||
|
cd ${OECMAKE_BUILDPATH}
|
||||||
|
|
||||||
# Fix the paths in the config script to make it find the binaries and
|
# Fix the paths in the config script to make it find the binaries and
|
||||||
# library files. Doing so allows 3rd party configure scripts working
|
# library files. Doing so allows 3rd party configure scripts working
|
||||||
|
|||||||
Reference in New Issue
Block a user