# HG changeset patch # User Tormod Volden # Date 1437899906 -7200 # Node ID 6da1deb038f3c1b55e54c5225928d6c5c22ef084 # Parent 4f384d9b7e1aee089520c7fb6dafe9cd6f473bc5 level2: Set "coco1" baud rate in port.mak via DW_BAUD38400 flag instead of matching "coco1" port name when selecting boot modules. Makes it easier to add new ports with the "coco1" 38400 baud rate. diff -r 4f384d9b7e1a -r 6da1deb038f3 level1/coco1/bootfiles/makefile --- a/level1/coco1/bootfiles/makefile Sat Jul 25 09:24:30 2015 +0200 +++ b/level1/coco1/bootfiles/makefile Sun Jul 26 10:38:26 2015 +0200 @@ -10,7 +10,7 @@ KERNEL_1773 = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init \ $(MD)/boot_1773_6ms -ifeq ($(PORT),coco1) +ifdef DW_BAUD38400 KERNEL_DW = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init \ $(MD)/boot_dw_coco1 else @@ -40,7 +40,7 @@ PIPE = $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd CLOCK60HZ = $(MD)/clock_60hz $(MD)/clock2_soft CLOCK60HZDW = $(MD)/clock_60hz $(MD)/clock2_dw -ifeq ($(PORT),coco1) +ifdef DW_BAUD38400 RBDW = $(MD)/rbdw.dr $(MD)/dwio_coco1.sb \ $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd else diff -r 4f384d9b7e1a -r 6da1deb038f3 level1/coco1/port.mak --- a/level1/coco1/port.mak Sat Jul 25 09:24:30 2015 +0200 +++ b/level1/coco1/port.mak Sun Jul 26 10:38:26 2015 +0200 @@ -4,5 +4,6 @@ LEVEL = 1 TELNET_PORT = 6802 HTTPD_PORT = 8802 +DW_BAUD38400 = 1 include $(NITROS9DIR)/rules.mak