initcalls: Add initial implementation
Create simple serial subsystem which makes use of initcalls, and convert existing serial drivers to its use.
This commit is contained in:
@ -3,6 +3,9 @@ SUBDIRS :=
|
||||
|
||||
include $(BASEDIR)/header.mk
|
||||
|
||||
OBJS_$(d) := \
|
||||
$(d)/serial.o
|
||||
|
||||
OBJS_$(d)_$(CONFIG_VEXPRESS_A9) := \
|
||||
$(d)/pl011.o \
|
||||
$(d)/pl111.o
|
||||
@ -15,6 +18,6 @@ OBJS_$(d)_$(CONFIG_RPI) := \
|
||||
$(d)/bcm2835_mailbox.o \
|
||||
$(d)/bcm2835_videocore.o
|
||||
|
||||
KOBJS += $(OBJS_$(d)_y)
|
||||
KOBJS += $(OBJS_$(d)) $(OBJS_$(d)_y)
|
||||
|
||||
include $(BASEDIR)/footer.mk
|
||||
|
Reference in New Issue
Block a user