X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Flua-periphery%2F0001-Makefile-don-t-clone-build-c-periphery.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Flua-periphery%2F0001-Makefile-don-t-clone-build-c-periphery.patch;h=f6d3f271a64a87063ef011a4fa65e7bebf23eff9;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/lua-periphery/0001-Makefile-don-t-clone-build-c-periphery.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/lua-periphery/0001-Makefile-don-t-clone-build-c-periphery.patch new file mode 100644 index 0000000..f6d3f27 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/lua-periphery/0001-Makefile-don-t-clone-build-c-periphery.patch @@ -0,0 +1,32 @@ +From 395bb4cb37612a4ac94346531b13ff0e901ed05e Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Tue, 5 May 2015 23:59:17 +0200 +Subject: [PATCH 1/2] Makefile: don't clone/build c-periphery + +This patch adjusts lua-periphery Makefile to not clone and build the +c-periphery library by itself, and instead use the already available +c-periphery library. + +Signed-off-by: Thomas Petazzoni +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lua-periphery/Makefile b/lua-periphery/Makefile +index bed9b32..a4c68eb 100644 +--- a/lua-periphery/Makefile ++++ b/lua-periphery/Makefile +@@ -36,8 +36,8 @@ install: + + ########################################################################### + +-$(LIB): $(C_PERIPHERY_LIB) $(SRCS) +- $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) $(C_PERIPHERY_LIB) -o $@ ++$(LIB): $(SRCS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -lc-periphery -o $@ + + $(C_PERIPHERY_LIB): $(C_PERIPHERY)/Makefile + cd $(C_PERIPHERY); $(MAKE) +-- +2.1.0 +