2 include $(TOP)/config/make.cfg
4 FILES := kernel_init scheduler intr mmu tags syscall debug uic
6 #MM kernel-sam440-ppc: setup-sam440-ppc kernel-kernel-sam440-ppc-kobj kernel-exec-kobj
7 kernel-sam440-ppc: $(BINDIR)/boot/aros-amcc440
9 $(BINDIR)/boot/aros-amcc440: $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o
10 $(TARGET_LD) -Map $(OSGENDIR)/boot/kernel.map -T ldscript.lds -o $@ $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o -L$(LIBDIR) -lrom -larosm -lautoinit -llibinit
12 #MM kernel-kernel-sam440-ppc : includes
13 #MM kernel-kernel-sam440-ppc-kobj : includes
15 %build_module mmake=kernel-kernel-sam440-ppc \
16 modname=kernel modtype=resource \
17 cflags="$(CFLAGS) -I$(TOP)/rom/exec" \
18 files="$(FILES)" uselibs="rom"