[U-Boot] [PATCH 1/3] lib: bzip2: move bzip2 files to lib/bzip2/ directory
Masahiro Yamada
yamada.m at jp.panasonic.com
Fri Nov 28 03:13:26 CET 2014
Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---
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 320197a..09b011f 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 0000000..929c24e
--- /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
--
1.9.1
More information about the U-Boot
mailing list