Skip to contentSkip to conversation

autotools.bbclass: use oe_runmake instead of ${MAKE}

PATCH New Markus Lehtonen 1 participant 1 message Jan 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autotools.bbclass: use oe_runmake instead of ${MAKE}

Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be respected.

---
 meta/classes/autotools.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes/autotools.bbclass +1 -2
index 1400b44..7bf510b 100644
@@ -112,8 +112,7 @@ autotools_preconfigure() {
 				# regenerate them even if CFLAGS/LDFLAGS are different
 				cd ${S}
 				if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
-					echo "Running \"${MAKE} clean\" in ${S}"
-					${MAKE} clean
+					oe_runmake clean
 				fi
 				find ${S} -ignore_readdir_race -name \*.la -delete
 			fi
Signature · 1 line
2.1.4