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 / lua-periphery / 0001-Makefile-don-t-clone-build-c-periphery.patch
1 From 395bb4cb37612a4ac94346531b13ff0e901ed05e Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 5 May 2015 23:59:17 +0200
4 Subject: [PATCH 1/2] Makefile: don't clone/build c-periphery
5
6 This patch adjusts lua-periphery Makefile to not clone and build the
7 c-periphery library by itself, and instead use the already available
8 c-periphery library.
9
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ---
12  Makefile | 4 ++--
13  1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/lua-periphery/Makefile b/lua-periphery/Makefile
16 index bed9b32..a4c68eb 100644
17 --- a/lua-periphery/Makefile
18 +++ b/lua-periphery/Makefile
19 @@ -36,8 +36,8 @@ install:
20  
21  ###########################################################################
22  
23 -$(LIB): $(C_PERIPHERY_LIB) $(SRCS)
24 -       $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) $(C_PERIPHERY_LIB) -o $@
25 +$(LIB): $(SRCS)
26 +       $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -lc-periphery -o $@
27  
28  $(C_PERIPHERY_LIB): $(C_PERIPHERY)/Makefile
29         cd $(C_PERIPHERY); $(MAKE)
30 -- 
31 2.1.0
32