summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-07-09 11:49:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-10 11:10:14 +0100
commitf9324af88a99eca28b160fa31aa4516fd397e44b (patch)
treef1d225a516bbea8437d78a1e725dc8cdc0636aa4
parent326f484ff8c1985baf8a70dfe7139857ec43b289 (diff)
downloadopenembedded-core-contrib-f9324af88a99eca28b160fa31aa4516fd397e44b.tar.gz
openembedded-core-contrib-f9324af88a99eca28b160fa31aa4516fd397e44b.tar.bz2
openembedded-core-contrib-f9324af88a99eca28b160fa31aa4516fd397e44b.zip
distutils3: pass build arguments when doing a clean
We should pass the build arguments to setup.py when doing a clean, because sometimes the arguments are required for setup.py get started. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/distutils3.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass
index 99ad64d287..d4b92a3bb2 100644
--- a/meta/classes/distutils3.bbclass
+++ b/meta/classes/distutils3.bbclass
@@ -10,7 +10,7 @@ DISTUTILS_INSTALL_ARGS ?= "--prefix=${D}/${prefix} \
distutils3_do_configure() {
if [ "${CLEANBROKEN}" != "1" ] ; then
- ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean
+ ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean ${DISTUTILS_BUILD_ARGS}
fi
}