From: Jonathan Austin <jonathan.austin@arm.com>
To: yocto <yocto@yoctoproject.org>
Subject: nativesdk-cmake can't use a separate build dir, currently fails to build
Date: Fri, 09 May 2014 17:01:19 +0100 [thread overview]
Message-ID: <536CFBCF.6000609@arm.com> (raw)
Hi all,
I've discovered today that nativesdk-cmake fails to build by default.
The cmake and cmake-native targets still work.
The difference appears to be the metadata in:
meta/conf/distro/include/seperatebuilddir.inc
...which tells bitbake not to use a separate build dir for the latter
two targets, but doesn't make the exception for nativesdk-cmake
I got things working again with the following hack:
---8<-------
diff --git a/meta/conf/distro/include/seperatebuilddir.inc
b/meta/conf/distro/include/seperatebuilddir.inc
index 8f2ebfa..2ece812 100644
--- a/meta/conf/distro/include/seperatebuilddir.inc
+++ b/meta/conf/distro/include/seperatebuilddir.inc
@@ -473,7 +473,7 @@ B_pn-nativesdk-bigreqsproto = "${SEPB}"
B_pn-nativesdk-bison = "${SEPB}"
B_pn-nativesdk-bzip2 = "${SEPB}"
B_pn-nativesdk-chrpath = "${SEPB}"
-B_pn-nativesdk-cmake = "${SEPB}"
+#B_pn-nativesdk-cmake = "${SEPB}"
B_pn-nativesdk-curl = "${SEPB}"
B_pn-nativesdk-db = "${SEPB}"
B_pn-nativesdk-dbus = "${SEPB}"
----->8-------
I'm not really sure what the 'right' way to remove this is - the two
existing cmake targets are just commented out, but recent patches seem
to be simply removing targets.
Is this the appropriate fix? Does anyone know if there's a reason for
two out of three cmake targets to be commented but not the third? Did it
work once?
Any guidance one what the actual patch should look like is welcome!
Jonny
reply other threads:[~2014-05-09 16:07 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=536CFBCF.6000609@arm.com \
--to=jonathan.austin@arm.com \
--cc=yocto@yoctoproject.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.