[yocto] [eclipse][PATCH 0/2] Add oecore sysroot variable to CMAKE_FIND_ROOT_PATH

Timo Mueller mail at timomueller.eu
Thu May 22 03:04:42 PDT 2014


From: Timo Mueller <timo.mueller at bmw-carit.de>

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




More information about the yocto mailing list