comparison level1/makefile.dalpha @ 1837:8c92d803f168

Added ability to specify disk step rate
author afra
date Tue, 31 May 2005 15:20:35 +0000
parents 90a008bdcc8e
children 601979dd86e0
comparison
equal deleted inserted replaced
1836:8abe6e12dfa1 1837:8c92d803f168
1 # 1 #
2 #6809l1/makefile.dragon 2 #6809l1/makefile.dalpha
3 # 3 #
4 # 2005-04-24, P.Harvey-Smith. 4 # 2005-04-24, P.Harvey-Smith.
5 # Brought into line with CoCo makefile, for generating disk 5 # Brought into line with CoCo makefile, for generating disk
6 # names baded on CPU/Level/Release number. 6 # names baded on CPU/Level/Release number.
7 #
8 # 2005-05-31, P.Harvey-Smith.
9 # Added options to specify the step rate of the created
10 # floppy devices.
7 # 11 #
8 12
9 include ../rules.mak 13 include ../rules.mak
10 14
11 CPU = 6809 15 CPU = 6809
23 DISTROVER = $(DISTRO)$(NITROS9VER)_dalpha 27 DISTROVER = $(DISTRO)$(NITROS9VER)_dalpha
24 28
25 # Specify which shell should be used 29 # Specify which shell should be used
26 #WHICHSHELL = shellplus 30 #WHICHSHELL = shellplus
27 WHICHSHELL = shell_21 31 WHICHSHELL = shell_21
32
33 #Default step rate for floppy drives
34 #Step can be one of : 0=30ms, 1=20ms, 2=12ms, 3=6ms
35 #Note old drives often require 30ms
36 STEP = 0
28 37
29 CMDS = $(shell $(CD) cmds; make showcocoobjs) 38 CMDS = $(shell $(CD) cmds; make showcocoobjs)
30 BOOTTRACK = $(shell $(CD) modules; make -f makefile.dragon showboottrack) 39 BOOTTRACK = $(shell $(CD) modules; make -f makefile.dragon showboottrack)
31 KERNEL = $(shell $(CD) modules; make -f makefile.dragon showkernel) 40 KERNEL = $(shell $(CD) modules; make -f makefile.dragon showkernel)
32 SYSMODS = $(shell $(CD) modules; make -f makefile.dragon showsysmods) 41 SYSMODS = $(shell $(CD) modules; make -f makefile.dragon showsysmods)
55 @$(ECHO) "* *" 64 @$(ECHO) "* *"
56 @$(ECHO) "* NitrOS-9/6809 Level 1 Distribution *" 65 @$(ECHO) "* NitrOS-9/6809 Level 1 Distribution *"
57 @$(ECHO) "* *" 66 @$(ECHO) "* *"
58 @$(ECHO) "**************************************************" 67 @$(ECHO) "**************************************************"
59 $(foreach dir, $(DIRS), ($(CD) $(dir); make);) 68 $(foreach dir, $(DIRS), ($(CD) $(dir); make);)
60 $(foreach dir, $(DDIRS), ($(CD) $(dir); make -f makefile.dragon);) 69 $(foreach dir, $(DDIRS), ($(CD) $(dir); make -f makefile.dragon STEP=$(STEP));)
61 70
62 # Clean all components 71 # Clean all components
63 clean: dskclean 72 clean: dskclean
64 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) 73 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
65 $(foreach dir, $(DDIRS), ($(CD) $(dir); make -f makefile.dragon clean);) 74 $(foreach dir, $(DDIRS), ($(CD) $(dir); make -f makefile.dragon clean);)