Added support for compiling C++ files. It isn't included for all
[AROS.git] / arch / arm-efika / kernel / mmakefile.src
blob6b03435c7020db62922bcf6b75ff40b84de6bb06
1 # $Id$
2 include $(TOP)/config/make.cfg
4 FILES := kernel_startup kernel_debug
6 #MM kernel-efika-arm: setup-efika-arm kernel-kernel-kobj 
7 kernel-efika-arm: $(BINDIR)/boot/aros-efikamx
9 $(BINDIR)/boot/aros-efikamx: $(KOBJSDIR)/kernel_resource.o
10                 %mkdirs_q $(OSGENDIR)/boot
11                 %mkdirs_q $(BINDIR)/boot
12                 $(TARGET_LD) -Map $(OSGENDIR)/boot/kernel.map -T $(SRCDIR)/$(CURDIR)/ldscript.lds -o $@ $(KOBJSDIR)/kernel_resource.o -L$(LIBDIR) -larossupport -lrom -larosm -lautoinit -llibinit -laeabi
13                 $(TARGET_STRIP) --strip-unneeded -R .note -R .comment $@
14         
16 #MM kernel-kernel-efika-arm : includes
17 #MM kernel-kernel-efika-arm-kobj : includes
19 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) $(PRIV_EXEC_INCLUDES) \
20                  -I$(GENINCDIR) -I$(BINDIR)/Development/include
22 %build_archspecific \
23   mainmmake=kernel-kernel maindir=rom/kernel arch=efika-arm \
24   files="$(FILES)" compiler=kernel
25