diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-02-02 10:38:52 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-09-25 15:03:08 +0200 |
commit | 48618633a9c6120d155f7b4cbae57a40007c09cb (patch) | |
tree | d4c7a8612c7d5646060b1b85275c8b0fad277c30 /lib/Makemodule.am | |
parent | a3b803747b363b0ececd329583e0412672e7f30b (diff) |
mtd-utils: Extract rbtree implementation to common lib
Current rbtree implementation code is put under jffs utils, extract it
into common lib, and add more rbtree operations(eg. rb_first_postorder,
rb_next_postorder, etc.).
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.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makemodule.am b/lib/Makemodule.am index 7f890da..441532d 100644 --- a/lib/Makemodule.am +++ b/lib/Makemodule.am @@ -7,6 +7,8 @@ libmtd_a_SOURCES = \ include/common.h \ lib/list_sort.c \ include/list.h \ + lib/rbtree.c \ + include/rbtree.h \ lib/libcrc32.c \ include/crc32.h \ lib/libmtd_legacy.c \ |