Skip to content

Commit

Permalink
clang: package the multilib symlink
Browse files Browse the repository at this point in the history
We need to muck with the default packaging a bit to prevent libdir/clang
subdirectories from being packaged, and instead use nonarch_libdir.
Otherwise the packager complains about directories being beneath
a symlink.

Signed-off-by: Daniel McGregor <[email protected]>
  • Loading branch information
dankm authored and kraj committed Jan 20, 2020
1 parent 269634b commit c946dfc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion recipes-devtools/clang/clang_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,18 @@ FILES_libclang = "\
FILES_${PN}-dev += "\
${datadir}/llvm/cmake \
${libdir}/cmake \
${nonarch_libdir}/${BPN}/*.la \
"

FILES_${PN}-staticdev += "${nonarch_libdir}/${BPN}/*.a"

FILES_${PN}-staticdev_remove = "${libdir}/${BPN}/*.a"
FILES_${PN}-dev_remove = "${libdir}/${BPN}/*.la"
FILES_${PN}_remove = "${libdir}/${BPN}/*"


INSANE_SKIP_${PN} += "already-stripped"
INSANE_SKIP_${PN}-dev += "dev-elf"
#INSANE_SKIP_${PN}-dev += "dev-elf"
INSANE_SKIP_${PN}-lldb-python += "dev-so dev-deps"

#Avoid SSTATE_SCAN_COMMAND running sed over llvm-config.
Expand Down

0 comments on commit c946dfc

Please sign in to comment.