From c3aad53b91d2295dc7950c1d064d63a314f7b98a Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Thu, 22 Jun 2017 17:45:20 +0530 Subject: skiboot: Add a library for xz This patch adds a library for compression/decompression using xz. The code comes from http://tukaani.org/xz/embedded.html. The codebase has been kept as-is with a new Makefile.inc. For libxz/Makefile.inc and Makefile.main : Signed-off-by: Hemant Kumar Acked-by: Michael Neuling Signed-off-by: Hemant Kumar Signed-off-by: Madhavan Srinivasan Signed-off-by: Stewart Smith --- libxz/Makefile.inc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 libxz/Makefile.inc (limited to 'libxz/Makefile.inc') diff --git a/libxz/Makefile.inc b/libxz/Makefile.inc new file mode 100644 index 0000000..2987328 --- /dev/null +++ b/libxz/Makefile.inc @@ -0,0 +1,7 @@ +LIBXZ_SRCS = xz_dec_stream.c xz_dec_lzma2.c xz_crc32.c +LIBXZ_OBJS = $(LIBXZ_SRCS:%.c=%.o) + +SUBDIRS += libxz +LIBXZ = libxz/built-in.o + +$(LIBXZ): $(LIBXZ_OBJS:%=libxz/%) -- cgit v1.1