# HG changeset patch # User Tormod Volden # Date 1414338054 -3600 # Node ID 5ac8783f47aebb3b8225509b337acb9753f1bd98 # Parent e6c187dace64a8f8b3019359961f2f0e273200ee level3 makefiles: Merge identical kernel makefiles diff -r e6c187dace64 -r 5ac8783f47ae level3/coco3_6309/modules/kernel/makefile --- a/level3/coco3_6309/modules/kernel/makefile Sun Oct 26 16:40:53 2014 +0100 +++ b/level3/coco3_6309/modules/kernel/makefile Sun Oct 26 16:40:54 2014 +0100 @@ -1,39 +1,2 @@ -PORT = coco3 -include $(NITROS9DIR)/rules.mak - -vpath %.asm $(LEVEL3)/modules/kernel:$(LEVEL2)/modules/kernel:$(LEVEL1)/modules/kernel - -DEPENDS = ./makefile -AFLAGS += -DH6309=1 -I$(LEVEL2)/modules/kernel -I$(LEVEL1)/modules/kernel - -KERNEL = krn -KERNELP2 = krnp2 -SYSCALLS = fallimg.asm fallram.asm falltsk.asm faproc.asm fcmpnam.asm \ - fcpymem.asm fdatlog.asm fdelram.asm ffmodul.asm ffreehb.asm \ - fld.asm fldabx.asm flink.asm fmove.asm fnproc.asm fprsnam.asm \ - fdebug.asm fsrqmem.asm fssvc.asm fvmodul.asm \ - fallbit.asm fallprc.asm fchain.asm fclrblk.asm fcrcmod.asm \ - fdelimg.asm fexit.asm ffind64.asm ffork.asm fgblkmp.asm \ - fgcmdir.asm fgmoddr.asm fgprdsc.asm fgprocp.asm ficpt.asm \ - fid.asm fmapblk.asm fmem.asm fsend.asm fsleep.asm fsprior.asm \ - fsswi.asm fstime.asm fsuser.asm funlink.asm funload.asm - -ALLOBJS = $(KERNEL) $(KERNELP2) - -all: $(ALLOBJS) - -$(KERNEL): krn.asm $(SYSCALLS) - -$(KERNELP2): krnp2.asm $(SYSCALLS) - -clean: - $(RM) $(ALLOBJS) - -showobjs: - @$(ECHO) $(ALLOBJS) - -showcopyobjs: - @$(ECHO) $(COPYOBJS) - -identify: - $(IDENT_SHORT) $(ALLOBJS) +include ../../../coco3/modules/kernel/makefile +AFLAGS += -DH6309=1