Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/3] base.bbclass: Avoid explicit ${MAKE} in do_configure
@ 2015-01-07 17:25 Otavio Salvador
  2015-01-07 17:25 ` [PATCH 2/3] module.bbclass: Add KERNEL_SRC in EXTRA_OEMAKE Otavio Salvador
  2015-01-07 17:25 ` [PATCH 3/3] kernel.bbclass: When linux/version.h exists, copy it Otavio Salvador
  0 siblings, 2 replies; 8+ messages in thread
From: Otavio Salvador @ 2015-01-07 17:25 UTC (permalink / raw)
  To: OpenEmbedded Core Mailing List; +Cc: Otavio Salvador

The do_configure may eventually call 'make clean' when the sstate
signature does not match. We should respect EXTRA_OEMAKE when doing
so, so use 'oe_runmake' for it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/classes/base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index b8f61f3..de50be1 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -227,7 +227,7 @@ base_do_configure() {
 		if [ "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" ]; then
 			cd ${B}
 			if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
-				${MAKE} clean
+				oe_runmake clean
 			fi
 			find ${B} -name \*.la -delete
 		fi
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-07 23:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 17:25 [PATCH 1/3] base.bbclass: Avoid explicit ${MAKE} in do_configure Otavio Salvador
2015-01-07 17:25 ` [PATCH 2/3] module.bbclass: Add KERNEL_SRC in EXTRA_OEMAKE Otavio Salvador
2015-01-07 18:45   ` Bruce Ashfield
2015-01-07 18:57     ` Otavio Salvador
2015-01-07 23:47     ` Richard Purdie
2015-01-07 17:25 ` [PATCH 3/3] kernel.bbclass: When linux/version.h exists, copy it Otavio Salvador
2015-01-07 17:47   ` Bruce Ashfield
2015-01-07 17:55     ` Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox