The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / crda / 0001-Makefile-allow-to-override-python-interpreter.patch
1 From 6831024a247fd89c7f7adcbee8a0be991b3caaf4 Mon Sep 17 00:00:00 2001
2 From: Samuel Martin <s.martin49@gmail.com>
3 Date: Sun, 2 Mar 2014 23:45:44 +0100
4 Subject: [PATCH] Makefile: allow to override python interpreter
5
6 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
7 ---
8  Makefile | 3 ++-
9  1 file changed, 2 insertions(+), 1 deletion(-)
10
11 diff --git a/Makefile b/Makefile
12 index 1d34bde..d7134ff 100644
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -42,6 +42,7 @@ LDLIBS += -lgcrypt
16  reglib.o: keys-gcrypt.c
17  
18  endif
19 +PYTHON ?= python2
20  MKDIR ?= mkdir -p
21  INSTALL ?= install
22  
23 @@ -103,7 +104,7 @@ $(REG_BIN):
24  keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
25         $(NQ) '  GEN ' $@
26         $(NQ) '  Trusted pubkeys:' $(wildcard $(PUBKEY_DIR)/*.pem)
27 -       $(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
28 +       $(Q)$(PYTHON) ./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
29  
30  %.o: %.c regdb.h reglib.h
31         $(NQ) '  CC  ' $@
32 -- 
33 1.9.0
34