add kernel_ipi to the build and call it from the bcm2708 support code if applicable.
[AROS.git] / arch / arm-native / kernel / mmakefile.src
bloba4bc23196c35d92fbaa7aedf144d44b026f359e2
1 # $Id$
2 include $(TOP)/config/make.cfg
4 CFILES := \
5         kernel_startup \
6         kernel_execsmp \
7         kernel_cpu \
8         kernel_ipi \
9         kernel_scheduler \
10         spininit \
11         spinislocked \
12         spintrylock \
13         spinlock \
14         spinunlock \
15         platform_init \
16         kernel_debug \
17         getsystemattr \
18         getcpucount \
19         getcpumask \
20         getcpunumber \
21         maygetchar \
22         tags \
23         intr \
24         kernel_systimer \
25         syscall \
26         mmu \
27         issuper \
28         cli \
29         sti \
30         virtualtophysical \
31         setprotection \
32         mapglobal \
33         unmapglobal \
34         vars \
35         screen_fb \
36         font8x14
38 PLATFILES := platform_bcm2708
40 AFILES := intvecs
42 #MM kernel-raspi-arm: setup-raspi-arm kernel-kernel-kobj kernel-exec-kobj kernel-task-kobj
43 kernel-raspi-arm: $(OSGENDIR)/boot/core.elf
45 $(OSGENDIR)/boot/core.elf: $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o  $(KOBJSDIR)/task_resource.o
46                 %mkdirs_q $(OSGENDIR)/boot
47                 $(TARGET_LD) -Map $(OSGENDIR)/boot/core.map -T $(SRCDIR)/$(CURDIR)/ldscript.lds -o $@ $^ -L$(AROS_LIB) -larossupport -lautoinit -llibinit -lstdc.static -laeabi
48                 $(TARGET_STRIP) --strip-unneeded -R .note -R .comment $@
50 #MM kernel-kernel-raspi-arm : includes
51 #MM kernel-kernel-raspi-arm-kobj : includes
53 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) -I$(GENINCDIR) -I$(AROSDIR)/Development/include
55 %build_archspecific \
56   mainmmake=kernel-kernel maindir=rom/kernel arch=raspi-arm \
57   files="$(CFILES) $(PLATFILES)" asmfiles="$(AFILES)" compiler=kernel
58