[oe-commits] Koen Kooi : e.bbclass: run make distclean in ${S}, not after to fetch where it will invoke a makefile in $PWD

GIT User account git at amethyst.openembedded.net
Tue Dec 23 13:38:27 UTC 2008


Module: openembedded.git
Branch: john_lee/fastboot-devel
Commit: e96fd46ba551a014d19021c06c6e9e73f69e436a
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e96fd46ba551a014d19021c06c6e9e73f69e436a

Author: Koen Kooi <koen at openembedded.org>
Date:   Tue Dec 23 12:05:50 2008 +0100

e.bbclass: run make distclean in ${S}, not after to fetch where it will invoke a makefile in $PWD
* 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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/e.bbclass b/classes/e.bbclass
index 7166e72..77cef7f 100644
--- a/classes/e.bbclass
+++ b/classes/e.bbclass
@@ -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





More information about the Openembedded-commits mailing list