summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-07-09 10:49:03 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-10 16:33:00 (GMT)
commit6fbddd24f4f208cc373496997f5a22e365e1409b (patch)
tree2c54d3da988e9f51d6d9f2838a8326246d1232a6
parentab879ec1cf5d9c1f935d5cceb127a067a25c00e5 (diff)
downloadpoky-6fbddd24f4f208cc373496997f5a22e365e1409b.zip
poky-6fbddd24f4f208cc373496997f5a22e365e1409b.tar.gz
poky-6fbddd24f4f208cc373496997f5a22e365e1409b.tar.bz2
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. (From OE-Core rev: f9324af88a99eca28b160fa31aa4516fd397e44b) 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 99ad64d..d4b92a3 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
}