From: Jonathan Liu <net147@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH] llvm: move cross script install to separate sysroot preprocess function
Date: Wed, 29 May 2013 17:14:09 +1000 [thread overview]
Message-ID: <1369811649-14728-1-git-send-email-net147@gmail.com> (raw)
The llvm-config2.x script doesn't get placed in the target sysroot
crosscripts directory otherwise.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
meta-oe/recipes-core/llvm/llvm.inc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc
index b2ab935..546a40b 100644
--- a/meta-oe/recipes-core/llvm/llvm.inc
+++ b/meta-oe/recipes-core/llvm/llvm.inc
@@ -136,6 +136,13 @@ do_install() {
# later for native case
install -d ${D}${bindir}
install -m 0755 bin/llvm-config ${D}${bindir}
+}
+
+SYSROOT_PREPROCESS_FUNCS += "llvm_sysroot_preprocess"
+SYSROOT_PREPROCESS_FUNCS_virtclass-native += ""
+
+llvm_sysroot_preprocess() {
+ cd ${OECMAKE_BUILDPATH}
# Fix the paths in the config script to make it find the binaries and
# library files. Doing so allows 3rd party configure scripts working
--
1.8.2.3
reply other threads:[~2013-05-29 7:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1369811649-14728-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.