diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-01-29 17:04:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-31 13:29:48 +0000 |
commit | ca0617963acdc88a1b6fbdf8cb19d39265b8f452 (patch) | |
tree | 3fab0f12d330bb07b64fae648bed1ec2f87f285a /meta/classes/autotools.bbclass | |
parent | f4f9f2f4d97e43c579ec1cd97af3766c3f7c7c83 (diff) | |
download | poky-ca0617963acdc88a1b6fbdf8cb19d39265b8f452.tar.gz |
autotools.bbclass: use oe_runmake instead of ${MAKE}
Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be
respected.
(From OE-Core rev: 5e89a79ae7f26735e523917555251313995d01d4)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r-- | meta/classes/autotools.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 4601148fc3..826762d402 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -112,8 +112,7 @@ autotools_preconfigure() { | |||
112 | # regenerate them even if CFLAGS/LDFLAGS are different | 112 | # regenerate them even if CFLAGS/LDFLAGS are different |
113 | cd ${S} | 113 | cd ${S} |
114 | if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then | 114 | if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then |
115 | echo "Running \"${MAKE} clean\" in ${S}" | 115 | oe_runmake clean |
116 | ${MAKE} clean | ||
117 | fi | 116 | fi |
118 | find ${S} -ignore_readdir_race -name \*.la -delete | 117 | find ${S} -ignore_readdir_race -name \*.la -delete |
119 | fi | 118 | fi |