mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 04:48:52 +09:00
![Mark Tomlinson](/assets/img/avatar_default.png)
When building the file system the existing code does an insertion into a linked list. It attempts to speed this up by keeping a pointer to where the last entry was inserted but it's still slow. Now the nodes are just inserted into the list without searching through for the correct place. This unsorted list is then sorted once using mergesort after all the entries have been added to the list. This speeds up the scanning of the flash file system considerably. Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
15 lines
333 B
Makefile
15 lines
333 B
Makefile
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_JFFS2_LZO) += compr_lzo.o
|
|
obj-y += compr_rtime.o
|
|
obj-y += compr_rubin.o
|
|
obj-y += compr_zlib.o
|
|
obj-y += jffs2_1pass.o
|
|
obj-$(CONFIG_SYS_JFFS2_SORT_FRAGMENTS) += mergesort.o
|
|
obj-y += mini_inflate.o
|