From: Jonathan Liu <net147@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH] llvm: install llvm-config in crossscripts
Date: Fri, 31 May 2013 23:48:54 +1000 [thread overview]
Message-ID: <1370008134-25208-1-git-send-email-net147@gmail.com> (raw)
The llvm-config script was being installed to the native sysroot but not
in crossscripts. As a result, recipes would pick up the native
llvm-config which would give flags for native LLVM instead of target
LLVM and result in compile errors.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
meta-oe/recipes-core/llvm/llvm.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc
index a56fda0..59f4f25 100644
--- a/meta-oe/recipes-core/llvm/llvm.inc
+++ b/meta-oe/recipes-core/llvm/llvm.inc
@@ -160,6 +160,7 @@ llvm_sysroot_preprocess() {
install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}
install -m 0755 bin/llvm-config${LLVM_RELEASE} ${SYSROOT_DESTDIR}${bindir_crossscripts}
+ install -m 0755 bin/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}
}
do_install_virtclass-native() {
--
1.8.3
next reply other threads:[~2013-05-31 13:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 13:48 Jonathan Liu [this message]
2013-05-31 14:20 ` [meta-oe][PATCH] llvm: install llvm-config in crossscripts Jonathan Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1370008134-25208-1-git-send-email-net147@gmail.com \
--to=net147@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox