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
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
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 1 file changed, 2 insertions(+), 2 deletions(-)
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:
21 ###########################################################################
23 -$(LIB): $(C_PERIPHERY_LIB) $(SRCS)
24 - $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) $(C_PERIPHERY_LIB) -o $@
26 + $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -lc-periphery -o $@
28 $(C_PERIPHERY_LIB): $(C_PERIPHERY)/Makefile
29 cd $(C_PERIPHERY); $(MAKE)