summaryrefslogtreecommitdiff
path: root/lib/Makemodule.am
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2024-02-02 10:22:53 +0800
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-09-25 15:03:08 +0200
commita3b803747b363b0ececd329583e0412672e7f30b (patch)
treea2b48674f2e28235f89d787c16e0917f7236ed7b /lib/Makemodule.am
parent6ff8739a6bf5fce30e9d99ee4b35322313300dcb (diff)
mtd-utils: Extract list implementation to common lib and add list_sort support
Current list implementation code is put under jffs utils, extract it into common lib, and add more list operations(eg. list_move, list_splice, etc.). Besides, add list sorting support in new source file lib/list_sort.c. This is a preparation for replacing implementation of UBIFS utils with linux kernel libs. Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/Makemodule.am')
-rw-r--r--lib/Makemodule.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makemodule.am b/lib/Makemodule.am
index 570896b..7f890da 100644
--- a/lib/Makemodule.am
+++ b/lib/Makemodule.am
@@ -5,6 +5,8 @@ libmtd_a_SOURCES = \
include/libfec.h \
lib/common.c \
include/common.h \
+ lib/list_sort.c \
+ include/list.h \
lib/libcrc32.c \
include/crc32.h \
lib/libmtd_legacy.c \