mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 13:16:31 +00:00
new: 移植了LZ4库
This commit is contained in:
@ -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
3147
kernel/lib/lz4.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user