Pulled into eclipse-poky-kepler master.  Thanks for the contribution!  - Jessica

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Timo Mueller
Sent: Thursday, May 22, 2014 3:05 AM
To: [email protected]
Cc: Timo Mueller
Subject: [yocto] [eclipse][PATCH 0/2] Add oecore sysroot variable to 
CMAKE_FIND_ROOT_PATH

From: Timo Mueller <[email protected]>

Hi,

we were not considering the oecore sysroot variables provided by the 
environment script when constructing the CMAKE_FIND_ROOT_PATH in the toolchain 
cmake. As the other used variables do not necessarily contain values the 
CMAKE_FIND_ROOT_PATH can be empty. This can lead to issues when searching paths 
or libraries with CMake.

By using the oecore sysroot variables we make sure, that the 
CMAKE_FIND_ROOT_PATH contains sane values and all the find methods of CMake are 
at least searching the provided sysroot.

01: Refactors the CMAKE_ROOT_PATH construction to ease the future addition or 
removal of variables
02: Adds the oecore sysroot varaibles

Best regards,
Timo

Timo Mueller (2):
  plugins/cmake: Refactor creation of CMAKE_FIND_ROOT_PATH
  plugins/cmake: Add oecore sysroot variables to CMAKE_FIND_ROOT_PATH

 .../YoctoCMakeMakefileGenerator.java               | 37 +++++++++++++++-------
 1 file changed, 25 insertions(+), 12 deletions(-)

--
1.9.0

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to