summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils3.bbclass
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 17:33:00 +0100
commit6fbddd24f4f208cc373496997f5a22e365e1409b (patch)
tree2c54d3da988e9f51d6d9f2838a8326246d1232a6 /meta/classes/distutils3.bbclass
parentab879ec1cf5d9c1f935d5cceb127a067a25c00e5 (diff)
downloadpoky-6fbddd24f4f208cc373496997f5a22e365e1409b.tar.gz
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>
Diffstat (limited to 'meta/classes/distutils3.bbclass')
-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} \
10 10
11distutils3_do_configure() { 11distutils3_do_configure() {
12 if [ "${CLEANBROKEN}" != "1" ] ; then 12 if [ "${CLEANBROKEN}" != "1" ] ; then
13 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean 13 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean ${DISTUTILS_BUILD_ARGS}
14 fi 14 fi
15} 15}
16 16