diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-03-30 12:39:19 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-30 17:45:54 +0200 |
commit | 41e12ab4b44614adb41dd6fb6dd5eadf3d01e107 (patch) | |
tree | 75110ac1290f370999775dfa93d27b2cb511501d /package/crda/0001-Makefile-allow-to-override-python-interpreter.patch | |
parent | b8e76ce573fcaffcf47267e9e4223d978d698830 (diff) | |
download | buildroot-41e12ab4b44614adb41dd6fb6dd5eadf3d01e107.tar.gz buildroot-41e12ab4b44614adb41dd6fb6dd5eadf3d01e107.zip |
crda: enable host-python3 build support
Add an upstream-submitted (but not accepted) patch in order to allow
crda to be built with python2 as well as python3.
This drops m2crypto usage (python2-only) in favour of pycrypto which can
be built against both major versions.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/crda/0001-Makefile-allow-to-override-python-interpreter.patch')
-rw-r--r-- | package/crda/0001-Makefile-allow-to-override-python-interpreter.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/package/crda/0001-Makefile-allow-to-override-python-interpreter.patch b/package/crda/0001-Makefile-allow-to-override-python-interpreter.patch deleted file mode 100644 index 2481390681..0000000000 --- a/package/crda/0001-Makefile-allow-to-override-python-interpreter.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 6831024a247fd89c7f7adcbee8a0be991b3caaf4 Mon Sep 17 00:00:00 2001 -From: Samuel Martin <s.martin49@gmail.com> -Date: Sun, 2 Mar 2014 23:45:44 +0100 -Subject: [PATCH] Makefile: allow to override python interpreter - -Signed-off-by: Samuel Martin <s.martin49@gmail.com> ---- - Makefile | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 1d34bde..d7134ff 100644 ---- a/Makefile -+++ b/Makefile -@@ -42,6 +42,7 @@ LDLIBS += -lgcrypt - reglib.o: keys-gcrypt.c - - endif -+PYTHON ?= python2 - MKDIR ?= mkdir -p - INSTALL ?= install - -@@ -103,7 +104,7 @@ $(REG_BIN): - keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem) - $(NQ) ' GEN ' $@ - $(NQ) ' Trusted pubkeys:' $(wildcard $(PUBKEY_DIR)/*.pem) -- $(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@ -+ $(Q)$(PYTHON) ./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@ - - %.o: %.c regdb.h reglib.h - $(NQ) ' CC ' $@ --- -1.9.0 - |