classes/cmake.bbclass: make cmake continue if the build dir already exist
authorXerxes Rånby <xerxes@zafena.se>
Wed, 7 Apr 2010 10:45:32 +0000 (12:45 +0200)
committerXerxes Rånby <xerxes@zafena.se>
Wed, 7 Apr 2010 10:48:16 +0000 (12:48 +0200)
classes/cmake.bbclass

index bfa8acd..2047b58 100644 (file)
@@ -50,7 +50,7 @@ addtask generate_toolchain_file after do_patch before do_configure
 cmake_do_configure() {
   if [ ${OECMAKE_BUILDPATH} ]
   then
-    mkdir ${OECMAKE_BUILDPATH}
+    mkdir -p ${OECMAKE_BUILDPATH}
     cd ${OECMAKE_BUILDPATH}
   fi