Skip to contentSkip to conversation

cuia: revert to clean in do_compile, disable automatic in do_configure

PATCH New Denys Dmytriyenko 1 participant 1 message Aug 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cuia: revert to clean in do_compile, disable automatic in do_configure

From: Denys Dmytriyenko <[email protected]>

Need to unconditionally clean the sources before building the first time, due to wrong binaries present. But calling clean twice also causes failure.

---
 recipes-bsp/cuia/cuia_1.0.0.13.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-bsp/cuia/cuia_1.0.0.13.bb +3 -0
index a9024d2..e048f6a 100644
@@ -11,8 +11,11 @@ SRC_URI[cuia.sha256sum] = "f16d138a9146fdc7d52cba77bd30596da65835f6ffe4092baf2b3
 
 S = "${WORKDIR}/cuia_${CUIA_PV}${CUIA_PVExtra}"
 
+CLEANBROKEN = "1"
+
 do_compile () {
 	cd ${S}
+	oe_runmake clean
 	oe_runmake all
 }
 
Signature · 1 line
2.2.0