# HG changeset patch # User Tormod Volden # Date 1418330037 -3600 # Node ID 4404f3cf2941d601fd9db17ee6423974ab23d3e3 # Parent b94dfb0e365041c45431fdff202f3479ba981aa2 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. diff -r b94dfb0e3650 -r 4404f3cf2941 level1/atari/modules/kernel/makefile --- 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 diff -r b94dfb0e3650 -r 4404f3cf2941 level1/d64/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 diff -r b94dfb0e3650 -r 4404f3cf2941 level1/dalpha/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