2 include $(TOP)/config/make.cfg
5 #MM linklibs-raspi-bootstrap \
6 #MM linklibs-raspi-miniuart \
7 #MM linklibs-raspi-bootconsole \
8 #MM kernel-kernel-kobj \
12 # kernel.img has to have all things necessary to survive on it's own
13 # this includes kernel, exec, dos, intuition, fat/sfs-handler, sdmmc.device, poseidon, raspiusb.device etc.
22 $(addprefix $(KOBJSDIR)/,$(addsuffix _library.o ,$(KLIBS))) \
23 $(addprefix $(KOBJSDIR)/,$(addsuffix _device.o ,$(KDEVS))) \
24 $(addprefix $(KOBJSDIR)/,$(addsuffix _handler.o ,$(KHNDLRS))) \
25 $(addprefix $(KOBJSDIR)/,$(addsuffix _hidd.o ,$(KHIDDS))) \
26 $(addprefix $(KOBJSDIR)/,$(addsuffix _resource.o,$(KRSRCS))) \
27 $(addprefix $(KOBJSDIR)/,$(addsuffix _driver.o ,$(KDRVRS) )) \
28 $(addprefix $(KOBJSDIR)/,$(addsuffix _hook.o ,$(KHOOKS) ))
33 %build_image mmake=raspi-bootimage imagename=kernel.img \
34 files=$(FILES) ldflags=$(LDFLAGS) linkerscript=ldscript.lds entry=bootstrap map=yes dump=yes \
35 uselibs="raspi-bootstrap raspi-miniuart raspi-bootconsole" objfiles=$(KOBJS)