diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-23 12:05:50 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-23 12:05:50 +0100 |
commit | e96fd46ba551a014d19021c06c6e9e73f69e436a (patch) | |
tree | 45aa1258f29993ed362028b2ab29a6a90e3fbe18 | |
parent | e151a7673d67aa60c4c9ac1fa7f386393e5f404a (diff) |
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
-rw-r--r-- | classes/e.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |