From f071c501901281ae2de7a372ec12270dce91c426 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 28 Nov 2014 11:13:26 +0900 Subject: [PATCH] lib: bzip2: move bzip2 files to lib/bzip2/ directory Signed-off-by: Masahiro Yamada --- lib/Makefile | 6 +----- lib/bzip2/Makefile | 2 ++ lib/{ => bzip2}/bzlib.c | 0 lib/{ => bzip2}/bzlib_crctable.c | 0 lib/{ => bzip2}/bzlib_decompress.c | 0 lib/{ => bzip2}/bzlib_huffman.c | 0 lib/{ => bzip2}/bzlib_private.h | 0 lib/{ => bzip2}/bzlib_randtable.c | 0 8 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 lib/bzip2/Makefile rename lib/{ => bzip2}/bzlib.c (100%) rename lib/{ => bzip2}/bzlib_crctable.c (100%) rename lib/{ => bzip2}/bzlib_decompress.c (100%) rename lib/{ => bzip2}/bzlib_huffman.c (100%) rename lib/{ => bzip2}/bzlib_private.h (100%) rename lib/{ => bzip2}/bzlib_randtable.c (100%) diff --git a/lib/Makefile b/lib/Makefile index 320197a520..09b011f3d6 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -11,14 +11,10 @@ obj-$(CONFIG_RSA) += rsa/ obj-$(CONFIG_LZMA) += lzma/ obj-$(CONFIG_LZO) += lzo/ obj-$(CONFIG_ZLIB) += zlib/ +obj-$(CONFIG_BZIP2) += bzip2/ obj-$(CONFIG_TIZEN) += tizen/ obj-$(CONFIG_AES) += aes.o -obj-$(CONFIG_BZIP2) += bzlib.o -obj-$(CONFIG_BZIP2) += bzlib_crctable.o -obj-$(CONFIG_BZIP2) += bzlib_decompress.o -obj-$(CONFIG_BZIP2) += bzlib_randtable.o -obj-$(CONFIG_BZIP2) += bzlib_huffman.o obj-$(CONFIG_USB_TTY) += circbuf.o obj-y += crc7.o obj-y += crc8.o diff --git a/lib/bzip2/Makefile b/lib/bzip2/Makefile new file mode 100644 index 0000000000..929c24e228 --- /dev/null +++ b/lib/bzip2/Makefile @@ -0,0 +1,2 @@ +obj-y += bzlib.o bzlib_crctable.o bzlib_decompress.o \ + bzlib_randtable.o bzlib_huffman.o diff --git a/lib/bzlib.c b/lib/bzip2/bzlib.c similarity index 100% rename from lib/bzlib.c rename to lib/bzip2/bzlib.c diff --git a/lib/bzlib_crctable.c b/lib/bzip2/bzlib_crctable.c similarity index 100% rename from lib/bzlib_crctable.c rename to lib/bzip2/bzlib_crctable.c diff --git a/lib/bzlib_decompress.c b/lib/bzip2/bzlib_decompress.c similarity index 100% rename from lib/bzlib_decompress.c rename to lib/bzip2/bzlib_decompress.c diff --git a/lib/bzlib_huffman.c b/lib/bzip2/bzlib_huffman.c similarity index 100% rename from lib/bzlib_huffman.c rename to lib/bzip2/bzlib_huffman.c diff --git a/lib/bzlib_private.h b/lib/bzip2/bzlib_private.h similarity index 100% rename from lib/bzlib_private.h rename to lib/bzip2/bzlib_private.h diff --git a/lib/bzlib_randtable.c b/lib/bzip2/bzlib_randtable.c similarity index 100% rename from lib/bzlib_randtable.c rename to lib/bzip2/bzlib_randtable.c -- 2.39.5