changeset 3010:5ac8783f47ae

level3 makefiles: Merge identical kernel makefiles
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 26 Oct 2014 16:40:54 +0100
parents e6c187dace64
children 1af4fc8e4769
files level3/coco3_6309/modules/kernel/makefile
diffstat 1 files changed, 2 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- 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