2 include $(TOP)/config/make.cfg
4 FILES := kernel_init tags debug intr mmu syscall scheduler ictl
6 #MM kernel-chrp-ppc-efika: setup-chrp-ppc-efika linklibs kernel-kernel-chrp-ppc-efika-kobj kernel-exec-kobj kernel-rtas-chrp-ppc-kobj
8 kernel-chrp-ppc-efika: $(BINDIR)/boot/aros-efika
10 $(BINDIR)/boot/aros-efika: $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o $(KOBJSDIR)/rtas_resource.o
11 $(TARGET_LD) -Map $(OSGENDIR)/boot/kernel.map -T ldscript.lds -o $@ $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o $(KOBJSDIR)/rtas_resource.o -L$(LIBDIR) -lrom -larosm -lautoinit -llibinit
12 $(STRIP) --strip-unneeded $@
14 #MM kernel-kernel-chrp-ppc-efika : includes includes-copy-chrp-ppc-efika linklibs
15 #MM kernel-kernel-chrp-ppc-efika-kobj : includes includes-copy-chrp-ppc-efika linklibs
17 %build_module mmake=kernel-kernel-chrp-ppc-efika \
18 modname=kernel modtype=resource \
19 cflags="$(CFLAGS) -I$(TOP)/rom/exec" \
20 files="$(FILES)" uselibs="rom"
22 #MM setup-chrp-ppc-efika
23 setup-chrp-ppc-efika :
24 %mkdirs_q $(BINDIR)/boot $(OSGENDIR)/boot $(TARGETDIR)