changeset 3026:4404f3cf2941

level1: Make all ports use the same kernel module makefile They were already identical, just needed to include one from all the others, to avoid redundant maintenance.
author Tormod Volden <debian.tormod@gmail.com>
date Thu, 11 Dec 2014 21:33:57 +0100
parents b94dfb0e3650
children 32a23a8c3332
files level1/atari/modules/kernel/makefile level1/d64/modules/kernel/makefile level1/dalpha/modules/kernel/makefile
diffstat 3 files changed, 3 insertions(+), 91 deletions(-) [+]
line wrap: on
line diff
--- a/level1/atari/modules/kernel/makefile	Thu Dec 11 21:33:41 2014 +0100
+++ b/level1/atari/modules/kernel/makefile	Thu Dec 11 21:33:57 2014 +0100
@@ -1,32 +1,2 @@
 PORT = atari
-include $(NITROS9DIR)/rules.mak
-
-vpath %.asm $(LEVEL1)/modules/kernel
-
-DEPENDS		= ./makefile
-
-KERNEL		= krn
-KERNELP2	= krnp2
-SYSCALLS	= fcmpnam.asm fprsnam.asm
-
-AFLAGS		+= -I$(LEVEL1)/modules/kernel
-
-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 ../../../coco1/modules/kernel/makefile
--- a/level1/d64/modules/kernel/makefile	Thu Dec 11 21:33:41 2014 +0100
+++ b/level1/d64/modules/kernel/makefile	Thu Dec 11 21:33:57 2014 +0100
@@ -1,31 +1,2 @@
 PORT = d64
-include $(NITROS9DIR)/rules.mak
-
-vpath %.asm $(LEVEL1)/modules/kernel
-
-AFLAGS		+= -I$(LEVEL1)/modules/kernel
-DEPENDS		= ./makefile
-
-KERNEL		= krn
-KERNELP2	= krnp2
-SYSCALLS	= fcmpnam.asm fprsnam.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 ../../../coco1/modules/kernel/makefile
--- a/level1/dalpha/modules/kernel/makefile	Thu Dec 11 21:33:41 2014 +0100
+++ b/level1/dalpha/modules/kernel/makefile	Thu Dec 11 21:33:57 2014 +0100
@@ -1,31 +1,2 @@
 PORT = dalpha
-include $(NITROS9DIR)/rules.mak
-
-vpath %.asm $(LEVEL1)/modules/kernel
-
-AFLAGS		+= -I$(LEVEL1)/modules/kernel
-DEPENDS		= ./makefile
-
-KERNEL		= krn
-KERNELP2	= krnp2
-SYSCALLS	= fcmpnam.asm fprsnam.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 ../../../coco1/modules/kernel/makefile