replacing hard-code pathes with pathes set by bitbake's shell variables

This commit is contained in:
Lukas Bulwahn 2013-02-06 07:08:24 +01:00
parent 350b4d3e50
commit 00d579a793
2 changed files with 7 additions and 6 deletions

View File

@ -14,10 +14,10 @@ DEPENDS = "catkin-native \
roscpp-traits \
rostime"
EXTRA_OECMAKE = \
" -Dcpp_common_DIR=/home/lukas/poky-danny-8.0/build/tmp/sysroots/qemux86/usr/share/cpp_common/cmake/ \
-Droscpp_traits_DIR=/home/lukas/poky-danny-8.0/build/tmp/sysroots/qemux86/usr/share/roscpp_traits/cmake/ \
-Drostime_DIR=/home/lukas/poky-danny-8.0/build/tmp/sysroots/qemux86/usr/share/rostime/cmake/ \
EXTRA_OECMAKE = " \
-Dcpp_common_DIR=${STAGING_DATADIR}/cpp_common/cmake/ \
-Droscpp_traits_DIR=${STAGING_DATADIR}/roscpp_traits/cmake/ \
-Drostime_DIR=${STAGING_DATADIR}/rostime/cmake/ \
"
inherit cmake pythonnative

View File

@ -16,5 +16,6 @@ FILES_${PN} += "${libdir}/*"
inherit cmake pythonnative
EXTRA_OECMAKE = "-DCMAKE_PREFIX_PATH=/home/lukas/poky-danny-8.0/build/tmp/sysroots/qemux86/usr/share/cpp_common/cmake/ \
-Dcpp_common_DIR=/home/lukas/poky-danny-8.0/build/tmp/sysroots/qemux86/usr/share/cpp_common/cmake/"
EXTRA_OECMAKE = " \
-Dcpp_common_DIR=${STAGING_DATADIR}/cpp_common/cmake/ \
"