changeset 1836:8abe6e12dfa1

Added ability to specify step rate in makefile
author afra
date Tue, 31 May 2005 15:20:13 +0000
parents ee18faf4bc61
children 8c92d803f168
files level1/makefile.dragon
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/level1/makefile.dragon	Tue May 31 15:19:49 2005 +0000
+++ b/level1/makefile.dragon	Tue May 31 15:20:13 2005 +0000
@@ -5,6 +5,11 @@
 # 	Brought into line with CoCo makefile, for generating disk
 #	names baded on CPU/Level/Release number.
 #
+#
+# 2005-05-31, P.Harvey-Smith.
+#	Added options to specify the step rate of the created 
+#	floppy devices.
+#
 
 include ../rules.mak
 
@@ -27,6 +32,11 @@
 #WHICHSHELL	= shellplus
 WHICHSHELL	= shell_21
 
+#Default step rate for floppy drives
+#Step can be one of : 0=30ms, 1=20ms, 2=12ms, 3=6ms
+#Note old drives often require 30ms
+STEP		= 0
+
 CMDS		= $(shell $(CD) cmds; make showcocoobjs)
 BOOTTRACK	= $(shell $(CD) modules; make -f makefile.dragon showboottrack)
 KERNEL		= $(shell $(CD) modules; make -f makefile.dragon showkernel)
@@ -59,7 +69,7 @@
 	@$(ECHO) "*                                                *"
 	@$(ECHO) "**************************************************"
 	$(foreach dir, $(DIRS), ($(CD) $(dir); make);)
-	$(foreach dir, $(DDIRS), ($(CD) $(dir); make -f makefile.dragon);)
+	$(foreach dir, $(DDIRS), ($(CD) $(dir); make -f makefile.dragon STEP=$(STEP));)
 
 # Clean all components
 clean:	dskclean