[oe-commits] org.oe.dev cmake.bbclass: use cross-compilation support with 2.6.0 (from Poky)

hrw commit oe at amethyst.openembedded.net
Fri Jun 27 16:17:44 UTC 2008


cmake.bbclass: use cross-compilation support with 2.6.0 (from Poky)

Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: 8eb2a350085e36627bc9a432834ecae61c94ac82
ViewMTN: http://monotone.openembedded.org/revision/info/8eb2a350085e36627bc9a432834ecae61c94ac82
Files:
1
classes/cmake.bbclass
Diffs:

#
# mt diff -r2e1af81a66409d7034bb1f8ea6cd896be8462f9d -r8eb2a350085e36627bc9a432834ecae61c94ac82
#
#
#
# patch "classes/cmake.bbclass"
#  from [1fbe2c1cc0ed7f80d95cd2757472581efd8f9825]
#    to [fd1b88d5d95f59fad2e97aac4309d906b1c5c471]
#
============================================================
--- classes/cmake.bbclass	1fbe2c1cc0ed7f80d95cd2757472581efd8f9825
+++ classes/cmake.bbclass	fd1b88d5d95f59fad2e97aac4309d906b1c5c471
@@ -4,7 +4,8 @@ cmake_do_configure() {
 inherit autotools
 
 cmake_do_configure() {
-    cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
+     cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
+     -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST}
 }
 
 EXPORT_FUNCTIONS do_configure






More information about the Openembedded-commits mailing list