2 include $(TOP)/config/make.cfg
4 CFILES := kernel_startup kernel_cpu platform_init kernel_debug getsystemattr maygetchar tags intr kernel_systimer syscall mmu issuper cli sti vars screen_fb font8x14
5 PLATFILES := platform_bcm2708
8 #MM kernel-raspi-arm: setup-raspi-arm kernel-kernel-kobj kernel-exec-kobj
9 kernel-raspi-arm: $(OSGENDIR)/boot/core.elf
11 $(OSGENDIR)/boot/core.elf: $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o
12 %mkdirs_q $(OSGENDIR)/boot
13 $(TARGET_LD) -Map $(OSGENDIR)/boot/core.map -T $(SRCDIR)/$(CURDIR)/ldscript.lds -o $@ $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o -L$(AROS_LIB) -larossupport -lautoinit -llibinit -lstdc.static -laeabi
14 $(TARGET_STRIP) --strip-unneeded -R .note -R .comment $@
16 #MM kernel-kernel-raspi-arm : includes
17 #MM kernel-kernel-raspi-arm-kobj : includes
19 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) $(PRIV_EXEC_INCLUDES) \
20 -I$(GENINCDIR) -I$(AROSDIR)/Development/include
23 mainmmake=kernel-kernel maindir=rom/kernel arch=raspi-arm \
24 files="$(CFILES) $(PLATFILES)" asmfiles="$(AFILES)" compiler=kernel