summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/autotools.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 9ccd7d2e2d..819045a3b4 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -105,7 +105,7 @@ autotools_preconfigure() {
105 if [ "${S}" != "${B}" ]; then 105 if [ "${S}" != "${B}" ]; then
106 echo "Previously configured separate build directory detected, cleaning ${B}" 106 echo "Previously configured separate build directory detected, cleaning ${B}"
107 rm -rf ${B} 107 rm -rf ${B}
108 mkdir ${B} 108 mkdir -p ${B}
109 else 109 else
110 # At least remove the .la files since automake won't automatically 110 # At least remove the .la files since automake won't automatically
111 # regenerate them even if CFLAGS/LDFLAGS are different 111 # regenerate them even if CFLAGS/LDFLAGS are different