[yocto] [eclipse][PATCH 0/2] Add oecore sysroot variable to CMAKE_FIND_ROOT_PATH
Zhang, Jessica
jessica.zhang at intel.com
Thu May 22 11:04:08 PDT 2014
Pulled into eclipse-poky-kepler master. Thanks for the contribution! - Jessica
-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Timo Mueller
Sent: Thursday, May 22, 2014 3:05 AM
To: yocto at yoctoproject.org
Cc: Timo Mueller
Subject: [yocto] [eclipse][PATCH 0/2] Add oecore sysroot variable to CMAKE_FIND_ROOT_PATH
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
--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list