Removed extraneous code from ACTION_FORMAT that prevented unformatted
[AROS.git] / arch / arm-sun4i / kernel / mmakefile.src
blob8da60847f310967fce67cfbfe22eb79a2582556c
1 # $Id$
2 include $(TOP)/config/make.cfg
4 CFILES := kernel_startup kernel_debug maygetchar issuper
6 #MM kernel-sun4i-arm: \
7 #MM     setup-sun4i-arm \
8 #MM     kernel-kernel-kobj
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
23 %build_archspecific \
24   mainmmake=kernel-kernel maindir=rom/kernel arch=sun4i-arm \
25   files="$(CFILES)" compiler=kernel
26