aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-12-19 13:17:51 +0000
committerRoss Burton <ross.burton@intel.com>2014-12-19 13:17:51 +0000
commitc6491fff7b070a85c6da343748574a0b29c0eb6a (patch)
treed9fa23a2092122b77ec2f4dc7c460d25ec62044d
parentdfa5f49072092076b9cac98f7a9bbc40b8d121c3 (diff)
downloadmeta-translator-c6491fff7b070a85c6da343748574a0b29c0eb6a.tar.gz
meta-translator-c6491fff7b070a85c6da343748574a0b29c0eb6a.tar.bz2
meta-translator-c6491fff7b070a85c6da343748574a0b29c0eb6a.zip
package_srpm: replace base_do_configure with a stub
base_do_configure() simply does a clean of an existing build tree, so doesn't serve any purpose in spec files. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--lib/srpm_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/srpm_utils.py b/lib/srpm_utils.py
index ebd8bff..b7f0eeb 100644
--- a/lib/srpm_utils.py
+++ b/lib/srpm_utils.py
@@ -35,6 +35,7 @@ def clean_data(d):
ld.setVar("STAGING_DIR_NATIVE", "")
ld.setVar("STAGING_DIR_HOST", "")
+ ld.setVar("base_do_configure", ":")
ld.setVar("base_do_compile", "make %{?_smp_mflags} ${EXTRA_OEMAKE}")
ld.setVar("oe_runmake", '%{__make} ${EXTRA_OEMAKE} "$@"')
ld.setVar("oe_multilib_header", ":")