new: kfifo

This commit is contained in:
fslongjin
2022-07-28 19:48:20 +08:00
parent 0761daec0b
commit 2a983a8534
9 changed files with 452 additions and 10 deletions

View File

@ -3,7 +3,7 @@ CFLAGS += -I .
kernel_common_subdirs:=libELF math
all: glib.o printk.o cpu.o bitree.o
all: glib.o printk.o cpu.o bitree.o kfifo.o
@list='$(kernel_common_subdirs)'; for subdir in $$list; do \
echo "make all in $$subdir";\
cd $$subdir;\
@ -21,4 +21,7 @@ cpu.o: cpu.c
gcc $(CFLAGS) -c cpu.c -o cpu.o
bitree.o: bitree.c
gcc $(CFLAGS) -c bitree.c -o bitree.o
gcc $(CFLAGS) -c bitree.c -o bitree.o
kfifo.o: kfifo.c
gcc $(CFLAGS) -c kfifo.c -o kfifo.o