All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* nativesdk-cmake can't use a separate build dir, currently fails to build
@ 2014-05-09 16:01 Jonathan Austin
  0 siblings, 0 replies; only message in thread
From: Jonathan Austin @ 2014-05-09 16:01 UTC (permalink / raw
  To: yocto

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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-09 16:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 16:01 nativesdk-cmake can't use a separate build dir, currently fails to build Jonathan Austin

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.