[yocto] [meta-security][PATCH] python-pycrypto: fix build error

Armin Kuster akuster808 at gmail.com
Sun Jul 10 12:29:25 PDT 2016


| DEBUG: Executing shell function do_compile
| make: *** No targets specified and no makefile found.  Stop.

add null do_compile

Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 recipes-devtools/python/python-pycrypto_2.6.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-pycrypto_2.6.1.bb b/recipes-devtools/python/python-pycrypto_2.6.1.bb
index a2ad4d1..8036158 100644
--- a/recipes-devtools/python/python-pycrypto_2.6.1.bb
+++ b/recipes-devtools/python/python-pycrypto_2.6.1.bb
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit setuptools
 
 export STAGING_INCDIR
 export STAGING_LIBDIR
@@ -25,6 +25,8 @@ inherit autotools autotools-brokensep distutils
 
 DEPENDS += " gmp"
 
+do_compile[noexec] = "1"
+
 # We explicitly call distutils_do_install, since we want it to run, but
 # *don't* want the autotools install to run, since this package doesn't
 # provide a "make install" target.
-- 
1.9.1




More information about the yocto mailing list