aboutsummaryrefslogtreecommitdiff
path: root/libxz/Makefile.inc
diff options
context:
space:
mode:
authorHemant Kumar <hemant@linux.vnet.ibm.com>2017-06-22 17:45:20 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-27 15:31:52 +1000
commitc3aad53b91d2295dc7950c1d064d63a314f7b98a (patch)
tree3b815fb88d11b2ec58f6f8c91d4a2521b783af13 /libxz/Makefile.inc
parent4dcc361183b58b2e68f4ebbd6a84d758c90776e0 (diff)
downloadskiboot-c3aad53b91d2295dc7950c1d064d63a314f7b98a.zip
skiboot-c3aad53b91d2295dc7950c1d064d63a314f7b98a.tar.gz
skiboot-c3aad53b91d2295dc7950c1d064d63a314f7b98a.tar.bz2
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 <hemant@linux.vnet.ibm.com> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Hemant Kumar <hemant@linux.vnet.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libxz/Makefile.inc')
-rw-r--r--libxz/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
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/%)