修复makefile的bug

This commit is contained in:
fslongjin
2022-05-18 21:13:23 +08:00
parent 8d8fd391fb
commit 59e847294a
7 changed files with 42 additions and 10 deletions

12
kernel/driver/Makefile Normal file
View File

@ -0,0 +1,12 @@
CFLAGS += -I .
kernel_driver_subdirs:=video
all:
@list='$(kernel_driver_subdirs)'; for subdir in $$list; do \
echo "make all in $$subdir";\
cd $$subdir;\
$(MAKE) all CFLAGS="$(CFLAGS)";\
cd ..;\
done