revert between 56095 -> 55830 in arch
[AROS.git] / arch / arm-native / kernel / mmakefile.src
blob4ba6d954791e44fa27e27b79527929d49da3eaa5
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 CFILES := \
6         kernel_startup \
7         kernel_execsmp \
8         kernel_cpu \
9         kernel_ipi \
10         kernel_scheduler \
11         spininit \
12         spinislocked \
13         spintrylock \
14         spinlock \
15         spinunlock \
16         platform_init \
17         kernel_debug \
18         getsystemattr \
19         getcpucount \
20         getcpumask \
21         getcpunumber \
22         maygetchar \
23         tags \
24         intr \
25         kernel_systimer \
26         syscall \
27         mmu \
28         issuper \
29         cli \
30         sti \
31         virtualtophysical \
32         setprotection \
33         mapglobal \
34         unmapglobal \
35         vars \
36         screen_fb \
37         font8x14 \
38         devicetree
40 PLATFILES := platform_bcm2708
42 AFILES := intvecs
44 #MM kernel-raspi-arm: setup-raspi-arm kernel-kernel-kobj kernel-exec-kobj kernel-task-kobj
45 kernel-raspi-arm: $(OSGENDIR)/boot/core.elf
47 #MM kernel-raspi-arm-quick: setup-raspi-arm-quick kernel-kernel-kobj-quick kernel-exec-kobj-quick kernel-task-kobj-quick
48 kernel-raspi-arm-quick: $(OSGENDIR)/boot/core.elf
50 #MM kernel-raspi-armeb: setup-raspi-armeb kernel-kernel-kobj kernel-exec-kobj kernel-task-kobj
51 kernel-raspi-armeb: $(OSGENDIR)/boot/core.elf
53 #MM kernel-raspi-armeb-quick: setup-raspi-armeb-quick kernel-kernel-kobj-quick kernel-exec-kobj-quick kernel-task-kobj-quick
54 kernel-raspi-armeb-quick: $(OSGENDIR)/boot/core.elf
56 $(OSGENDIR)/boot/core.elf: $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o  $(KOBJSDIR)/task_resource.o
57                 %mkdirs_q $(OSGENDIR)/boot
58                 $(TARGET_LD) -Map $(OSGENDIR)/boot/core.map -T $(SRCDIR)/$(CURDIR)/ldscript.lds -o $@ $^ -L$(AROS_LIB) -larossupport -lautoinit -llibinit -lstdc.static -laeabi
59                 $(TARGET_STRIP) --strip-unneeded -R .note -R .comment $@
61 #MM kernel-kernel-raspi-arm : includes
62 #MM kernel-kernel-raspi-arm-kobj : includes
63 #MM kernel-kernel-raspi-armeb : includes
64 #MM kernel-kernel-raspi-armeb-kobj : includes
66 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) -I$(GENINCDIR) -I$(AROS_DEVELOPER)/include -I$(SRCDIR)/rom/openfirmware
68 %build_archspecific \
69   mainmmake=kernel-kernel modname=kernel maindir=rom/kernel arch=raspi-arm \
70   files="$(CFILES) $(PLATFILES)" asmfiles="$(AFILES)" compiler=kernel
72 %build_archspecific \
73   mainmmake=kernel-kernel modname=kernel maindir=rom/kernel arch=raspi-armeb \
74   files="$(CFILES) $(PLATFILES)" asmfiles="$(AFILES)" compiler=kernel