From 7c686636199398420ca4bfefbb574935e38aecdb Mon Sep 17 00:00:00 2001 From: Lukas Bulwahn Date: Thu, 26 Jun 2014 16:56:22 +0200 Subject: libeigen: remove obsolete setting for default out-of-tree build Since commit 783fb88f@openembedded-core, out-of-tree builds of cmake-based recipes are the default, and the variables OECMAKE_BUILDPATH and OECMAKE_SOURCEPATH were deprecated. With the commit 2c23d7ab@openembedded-core, the variable OECMAKE_SOURCEPATH was put back into action, but this causes the libeigen recipe to fail as OECMAKE_SOURCEPATH is set in the recipe, but OECMAKE_BUILDPATH is set to the bbclass default. This commit simply removes both variables from the libeigen recipe and hence sets the recipe to do a default out-of-tree build. This resolves the build failure of libeigen with 2c23d7ab@openembedded-core, and furthermore, the adjusted recipe still works with the cmake.bbclass of 783fb88f@openembedded-core. The build failure was discovered during the regression testing of the meta-ros layer. The exact build error message and its investigation is recorded in issue #276 of the meta-ros issue tracker at https://github.com/bmwcarit/meta-ros/issues/276. Signed-off-by: Lukas Bulwahn Tested-by: Ash Charles Signed-off-by: Martin Jansa --- meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb | 3 --- 1 file changed, 3 deletions(-) (limited to 'meta-oe/recipes-support/libeigen') diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb b/meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb index 4183f0521c..de5186f10c 100644 --- a/meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb +++ b/meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb @@ -13,9 +13,6 @@ S = "${WORKDIR}/eigen-eigen-ffa86ffb5570" inherit cmake -OECMAKE_SOURCEPATH = ".." -OECMAKE_BUILDPATH = "build" - EXTRA_OECMAKE += "-Dpkg_config_libdir=${libdir}" FILES_${PN} = "${includedir} ${libdir}" -- cgit 1.2.3-korg