e.bbclass: run make distclean in ${S}, not after to fetch where it will invoke a...
authorKoen Kooi <koen@openembedded.org>
Tue, 23 Dec 2008 11:05:50 +0000 (12:05 +0100)
committerKoen Kooi <koen@openembedded.org>
Tue, 23 Dec 2008 11:05:50 +0000 (12:05 +0100)
* if you use makefiles to control OE which has a distclean target you would end up loosing your build when it hits an e package
* Spotted by Leon Woestenberg

classes/e.bbclass

index 7166e72..77cef7f 100644 (file)
@@ -10,7 +10,7 @@ inherit autotools pkgconfig binconfig
 do_prepsources () {
   make clean distclean || true
 }
-addtask prepsources after do_fetch before do_unpack
+addtask prepsources after do_patch before do_configure
 
 do_configure_append() {
         find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g