From e96fd46ba551a014d19021c06c6e9e73f69e436a Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 23 Dec 2008 12:05:50 +0100 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/e.bbclass b/classes/e.bbclass index 7166e729b5..77cef7f118 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 -- cgit v1.2.3