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