2 include $(TOP)/config/make.cfg
4 CFILES := kernel_startup kernel_debug maygetchar issuper
6 #MM kernel-sun4i-arm: \
10 kernel-sun4i-arm: $(OSGENDIR)/boot/aros-sun4i.elf
12 $(OSGENDIR)/boot/aros-sun4i.elf: $(KOBJSDIR)/kernel_resource.o
13 %mkdirs_q $(OSGENDIR)/boot
14 $(TARGET_LD) -Map $(OSGENDIR)/boot/kernel.map -T $(SRCDIR)/$(CURDIR)/ldscript.lds -o $@ $(KOBJSDIR)/kernel_resource.o -L$(AROS_LIB) -larossupport -lautoinit -llibinit -lstdc.static -laeabi
15 $(TARGET_STRIP) --strip-unneeded -R .note -R .comment $@
17 #MM kernel-kernel-sun4i-arm : includes
18 #MM kernel-kernel-sun4i-arm-kobj : includes
20 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) $(PRIV_EXEC_INCLUDES) \
21 -I$(GENINCDIR) -I$(AROSDIR)/Development/include
24 mainmmake=kernel-kernel maindir=rom/kernel arch=sun4i-arm \
25 files="$(CFILES)" compiler=kernel