]> www.infradead.org Git - mtd-utils.git/commit
mtd-utils: move libmtd source files to lib/ subdirectory
authorKevin Cernekee <cernekee@gmail.com>
Thu, 8 Jul 2010 00:30:10 +0000 (17:30 -0700)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 13 Jul 2010 10:33:20 +0000 (13:33 +0300)
commit8f627247f651e80834d7b0441328151be180b335
tree77f8abb7843291fb97b88f1e7355df3a9549608d
parent004760f969175da7392dd02bb4fa14164ff46c1e
mtd-utils: move libmtd source files to lib/ subdirectory

Source files for libmtd, crc32, and fec are scattered throughout the
tree.  Move them to a central location so they can be built into a
common "libmtd.a" library used by all mtd-utils programs.

This patch only renames/deletes files and does not change the content.

Also modify the build system and source code so that libmtd.a can be built
from a "common" location (lib/).  Statically link all utilities at the top
level with libmtd.a . Minor changes to mkfs.ubifs to allow using the common
crc32 implementation.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
30 files changed:
Makefile
common.mk
crc32.h [deleted file]
fectest.c
flash_eraseall.c
include/common.h [moved from ubi-utils/src/common.h with 100% similarity]
include/crc32.h [moved from mkfs.ubifs/crc32.h with 84% similarity]
include/libmtd.h [moved from ubi-utils/include/libmtd.h with 100% similarity]
jffs2dump.c
lib/crc32.c [moved from crc32.c with 100% similarity]
lib/fec.c [moved from fec.c with 100% similarity]
lib/libmtd.c [moved from ubi-utils/src/libmtd.c with 100% similarity]
lib/libmtd_int.h [moved from ubi-utils/src/libmtd_int.h with 100% similarity]
lib/libmtd_legacy.c [moved from ubi-utils/src/libmtd_legacy.c with 100% similarity]
mkfs.jffs2.c
mkfs.ubifs/Makefile
mkfs.ubifs/compr.c
mkfs.ubifs/crc32.c [deleted file]
mkfs.ubifs/mkfs.ubifs.c
mkfs.ubifs/mkfs.ubifs.h
recv_image.c
serve_image.c
sumtool.c
ubi-utils/Makefile
ubi-utils/src/crc32.c [deleted file]
ubi-utils/src/crc32.h [deleted file]
ubi-utils/src/libscan.c
ubi-utils/src/libubigen.c
ubi-utils/src/ubicrc32.c
ubi-utils/src/ubiformat.c