summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-12-09 15:05:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-11 11:34:57 +0000
commit6bcd295f71928ef35bb58b716eef8b3995431688 (patch)
tree3c5dd5e6b9967c84c546a365e3da9c6eb7da76db /meta/recipes-devtools
parentb570d9089e2259eedb2d4c5e2ad9b9c318357063 (diff)
downloadast2050-yocto-poky-6bcd295f71928ef35bb58b716eef8b3995431688.zip
ast2050-yocto-poky-6bcd295f71928ef35bb58b716eef8b3995431688.tar.gz
python-pycurl: build docstrings to fix rebuilds
On a rebuild base.bbclass will invoke "make clean" to ensure that old build objects are not used. This will delete docstrings.c and the only way to re-generate that is with a dedicated setup.py target. (From OE-Core rev: f5bc0ba35ac531feae2e84bbc4f9d16f861db6c6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python-pycurl_7.19.5.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.5.bb b/meta/recipes-devtools/python/python-pycurl_7.19.5.bb
index a21a426..e4619c7 100644
--- a/meta/recipes-devtools/python/python-pycurl_7.19.5.bb
+++ b/meta/recipes-devtools/python/python-pycurl_7.19.5.bb
@@ -29,6 +29,11 @@ export STAGING_LIBDIR
BBCLASSEXTEND = "native"
+# Ensure the docstrings are generated as make clean will remove them
+do_compile_prepend() {
+ ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py docstrings
+}
+
do_install_append() {
rm -rf ${D}${datadir}/share
}
OpenPOWER on IntegriCloud