summaryrefslogtreecommitdiff
path: root/jffsX-utils/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 /jffsX-utils/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 'jffsX-utils/Makemodule.am')
-rw-r--r--jffsX-utils/Makemodule.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/jffsX-utils/Makemodule.am b/jffsX-utils/Makemodule.am
index 266c12e..2374b85 100644
--- a/jffsX-utils/Makemodule.am
+++ b/jffsX-utils/Makemodule.am
@@ -9,7 +9,8 @@ mkfs_jffs2_SOURCES = \
jffsX-utils/rbtree.h \
jffsX-utils/summary.h \
include/linux/jffs2.h \
- include/mtd/jffs2-user.h
+ include/mtd/jffs2-user.h \
+ include/list.h
mkfs_jffs2_LDADD = libmtd.a $(ZLIB_LIBS) $(LZO_LIBS)
mkfs_jffs2_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS)