move driver "/dev/null" to the directory "drivers/char"

This commit is contained in:
Stefan Lankes 2011-03-03 07:44:20 +01:00
parent a27150b923
commit 9e082fcb68
4 changed files with 6 additions and 2 deletions

View file

@ -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
View file

@ -0,0 +1,4 @@
C_source := null.c
MODULE := drivers_char
include $(TOPDIR)/Makefile.inc

View file

@ -1,4 +1,4 @@
C_source := fs.c initrd.c null.c
C_source := fs.c initrd.c
MODULE := fs
include $(TOPDIR)/Makefile.inc