1
0

Makefile: refactor subdirectory makefiles

This commit is contained in:
2012-09-26 15:35:52 -04:00
parent f9244836e1
commit c455b1eeb3
9 changed files with 74 additions and 23 deletions

View File

@ -1,5 +0,0 @@
DEVICES_PREFIX = devices
KOBJS += $(DEVICES_PREFIX)/pl011.o
KOBJS += $(DEVICES_PREFIX)/pl110.o
KOBJS += $(DEVICES_PREFIX)/pl111.o

12
devices/kernel.mk Normal file
View File

@ -0,0 +1,12 @@
DIRNAME := devices
SUBDIRS :=
include $(BASEDIR)/header.mk
OBJS_$(d) := $(d)/pl011.o \
$(d)/pl110.o \
$(d)/pl111.o
KOBJS += $(OBJS_$(d))
include $(BASEDIR)/footer.mk