new: 移植了LZ4库

This commit is contained in:
fslongjin
2022-09-03 16:13:29 +08:00
parent 41c7a84105
commit 4713a1a152
7 changed files with 3977 additions and 5 deletions

View File

@ -3,10 +3,17 @@ CFLAGS += -I .
kernel_lib_subdirs:= libUI
kernel_lib_objs:= $(shell find ./*.c)
ECHO:
@echo "$@"
$(kernel_lib_subdirs): ECHO
$(MAKE) -C $@ all CFLAGS="$(CFLAGS)" ASFLAGS="$(ASFLAGS)" PIC="$(PIC)"
all: $(kernel_lib_subdirs)
$(kernel_lib_objs): ECHO
gcc $(CFLAGS) -c $@ -o $@.o
all: $(kernel_lib_objs) $(kernel_lib_subdirs)
@echo $(kernel_lib_objs)

3147
kernel/lib/lz4.c Normal file

File diff suppressed because it is too large Load Diff