move driver "/dev/null" to the directory "drivers/char"
This commit is contained in:
parent
a27150b923
commit
9e082fcb68
4 changed files with 6 additions and 2 deletions
|
@ -3,7 +3,7 @@ ARCH = x86
|
|||
NAME = metalsvm.bin
|
||||
SYM_NAME = metalsvm.sym
|
||||
LWIPDIRS = lwip/src/api lwip/src/core lwip/src/core/ipv4 lwip/src/netif
|
||||
DRIVERDIRS = drivers/net
|
||||
DRIVERDIRS = drivers/net drivers/char
|
||||
KERNDIRS = libkern kernel mm fs arch/$(ARCH)/kernel arch/$(ARCH)/mm $(LWIPDIRS) $(DRIVERDIRS)
|
||||
SUBDIRS = $(KERNDIRS)
|
||||
#OBJS = $(shell for i in $(KERNDIRS); do find $$i -name *.o; done)
|
||||
|
|
4
drivers/char/Makefile
Normal file
4
drivers/char/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
C_source := null.c
|
||||
MODULE := drivers_char
|
||||
|
||||
include $(TOPDIR)/Makefile.inc
|
|
@ -1,4 +1,4 @@
|
|||
C_source := fs.c initrd.c null.c
|
||||
C_source := fs.c initrd.c
|
||||
MODULE := fs
|
||||
|
||||
include $(TOPDIR)/Makefile.inc
|
||||
|
|
Loading…
Add table
Reference in a new issue