- Makefile macro for compiling, linking and dumping things into a binary blob that can be the bootstrap but doesn't has to be
- Example mmakefile.src:
#$Id: mmakefile.src $
include $(TOP)/config/make.cfg
#MM raspi-bootimage: \
#MM linklibs-raspi-bootstrap \
#MM linklibs-raspi-bootconsole \
#MM kernel-kernel-kobj \
#MM kernel-exec-kobj
KLIBS := exec
KDEVS :=
KHNDLRS :=
KHIDDS :=
KRSRCS := kernel
KHOOKS :=
KOBJS := \
$(addprefix $(KOBJSDIR)/,$(addsuffix _library.o ,$(KLIBS))) \
$(addprefix $(KOBJSDIR)/,$(addsuffix _device.o ,$(KDEVS))) \
$(addprefix $(KOBJSDIR)/,$(addsuffix _handler.o ,$(KHNDLRS))) \
$(addprefix $(KOBJSDIR)/,$(addsuffix _hidd.o ,$(KHIDDS))) \
$(addprefix $(KOBJSDIR)/,$(addsuffix _resource.o,$(KRSRCS))) \
$(addprefix $(KOBJSDIR)/,$(addsuffix _driver.o ,$(KDRVRS) )) \
$(addprefix $(KOBJSDIR)/,$(addsuffix _hook.o ,$(KHOOKS) ))
FILES := dummy
%build_image mmake=raspi-bootimage imagename=bootimage.img \
files=$(FILES) ldflags=$(LDFLAGS) linkerscript=ldscript.lds entry= map=yes \
uselibs="raspi-bootstrap raspi-bootconsole" objfiles=$(KOBJS)
%common
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@46276 fb15a70f-31f2-0310-bbcc-cdcc74a49acc