annotate level1/dalpha/bootfiles/makefile @ 2059:46aa4db8204e

More changes
author boisy
date Mon, 24 Apr 2006 18:02:14 +0000
parents 2e37b5a0d4b3
children 56f966b82dc4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
1 #
e482bb12a954 tano port
boisy
parents:
diff changeset
2 #bootfiles/makefile
e482bb12a954 tano port
boisy
parents:
diff changeset
3 #
e482bb12a954 tano port
boisy
parents:
diff changeset
4 # 2005-04-24, P.Harvey-Smith.
e482bb12a954 tano port
boisy
parents:
diff changeset
5 # Added kernels for both DS40 and DS80 disks for Dragon 64
e482bb12a954 tano port
boisy
parents:
diff changeset
6 # Added kernels for both SS80 and DS80 disks for Dragon Alpha
e482bb12a954 tano port
boisy
parents:
diff changeset
7 #
e482bb12a954 tano port
boisy
parents:
diff changeset
8 #
e482bb12a954 tano port
boisy
parents:
diff changeset
9 # 2005-12-31, P.Harvey-Smith,
e482bb12a954 tano port
boisy
parents:
diff changeset
10 # Fixed up for renamed video drivers.
e482bb12a954 tano port
boisy
parents:
diff changeset
11 #
e482bb12a954 tano port
boisy
parents:
diff changeset
12 # 2006-01-08, P.Harvey-Smith,
e482bb12a954 tano port
boisy
parents:
diff changeset
13 # Added bootrack for original Dargon Data SS40 drives.
e482bb12a954 tano port
boisy
parents:
diff changeset
14 #
e482bb12a954 tano port
boisy
parents:
diff changeset
15 # 2006-01-18, P.Harvey-Smith,
e482bb12a954 tano port
boisy
parents:
diff changeset
16 # Added ability to build for the Tano Dragon 64, using an RS-DOS
e482bb12a954 tano port
boisy
parents:
diff changeset
17 # disk controler and a 60Hz clock.
e482bb12a954 tano port
boisy
parents:
diff changeset
18 #
e482bb12a954 tano port
boisy
parents:
diff changeset
19
2037
2e37b5a0d4b3 set PORT var
boisy
parents: 2036
diff changeset
20 PORT = dalpha
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
21 include $(NITROS9DIR)/rules.mak
e482bb12a954 tano port
boisy
parents:
diff changeset
22
e482bb12a954 tano port
boisy
parents:
diff changeset
23 # Module directory
e482bb12a954 tano port
boisy
parents:
diff changeset
24 MD = ../modules
e482bb12a954 tano port
boisy
parents:
diff changeset
25 # Commands directory
e482bb12a954 tano port
boisy
parents:
diff changeset
26 CD = ../cmds
e482bb12a954 tano port
boisy
parents:
diff changeset
27
e482bb12a954 tano port
boisy
parents:
diff changeset
28 DEPENDS = ./makefile
e482bb12a954 tano port
boisy
parents:
diff changeset
29
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
30 KERNEL = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
31 $(MD)/boot_dalpha
e482bb12a954 tano port
boisy
parents:
diff changeset
32
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
33 #Dragon Alpha Bootfiles
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
34
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
35 BOOTFILE_COVDG_SS80 = $(MD)/ioman \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
36 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
37 $(MD)/rbf.mn $(MD)/adisk.dr \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
38 $(MD)/ddd0_80s.dd\
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
39 $(MD)/d0_80s.dd $(MD)/d1_80s.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
40 $(MD)/d2_80s.dd $(MD)/d3_80s.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
41 $(MD)/scf.mn \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
42 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
43 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
e482bb12a954 tano port
boisy
parents:
diff changeset
44 $(MD)/clock_50hz $(MD)/clock2_soft \
e482bb12a954 tano port
boisy
parents:
diff changeset
45 $(MD)/sysgo_dd
e482bb12a954 tano port
boisy
parents:
diff changeset
46
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
47 BOOTFILE_COHR_SS80 = $(MD)/ioman \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
48 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
49 $(MD)/rbf.mn $(MD)/adisk.dr \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
50 $(MD)/ddd0_80s.dd\
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
51 $(MD)/d0_80s.dd $(MD)/d1_80s.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
52 $(MD)/d2_80s.dd $(MD)/d3_80s.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
53 $(MD)/scf.mn \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
54 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
55 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
e482bb12a954 tano port
boisy
parents:
diff changeset
56 $(MD)/clock_50hz $(MD)/clock2_soft \
e482bb12a954 tano port
boisy
parents:
diff changeset
57 $(MD)/sysgo_dd
e482bb12a954 tano port
boisy
parents:
diff changeset
58
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
59 BOOTFILE_COVDG_DS80 = $(MD)/ioman \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
60 $(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
e482bb12a954 tano port
boisy
parents:
diff changeset
61 $(MD)/rbf.mn $(MD)/adisk.dr \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
62 $(MD)/ddd0_80d.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
63 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
64 $(MD)/d2_80d.dd $(MD)/d3_80d.dd \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
65 $(MD)/scf.mn \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
66 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
67 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
e482bb12a954 tano port
boisy
parents:
diff changeset
68 $(MD)/clock_50hz $(MD)/clock2_soft \
e482bb12a954 tano port
boisy
parents:
diff changeset
69 $(MD)/sysgo_dd
e482bb12a954 tano port
boisy
parents:
diff changeset
70
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
71 BOOTFILE_COHR_DS80 = $(MD)/ioman \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
72 $(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
e482bb12a954 tano port
boisy
parents:
diff changeset
73 $(MD)/rbf.mn $(MD)/adisk.dr \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
74 $(MD)/ddd0_80d.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
75 $(MD)/d0_80d.dd $(MD)/d1_80d.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
76 $(MD)/d2_80d.dd $(MD)/d3_80d.dd \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
77 $(MD)/scf.mn \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
78 $(MD)/scdpp.dr $(MD)/p_dpp.dd \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
79 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
e482bb12a954 tano port
boisy
parents:
diff changeset
80 $(MD)/clock_50hz $(MD)/clock2_soft \
e482bb12a954 tano port
boisy
parents:
diff changeset
81 $(MD)/sysgo_dd
e482bb12a954 tano port
boisy
parents:
diff changeset
82
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
83 BOOTFILES = bootfile_covdg_ss80 bootfile_cohr_ss80 \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
84 bootfile_covdg_ds80 bootfile_cohr_ds80
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
85
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
86 KERNELS = kernel
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
87
e482bb12a954 tano port
boisy
parents:
diff changeset
88 ALLOBJS = $(BOOTFILES) $(KERNELS)
e482bb12a954 tano port
boisy
parents:
diff changeset
89
e482bb12a954 tano port
boisy
parents:
diff changeset
90 all: $(ALLOBJS)
e482bb12a954 tano port
boisy
parents:
diff changeset
91
e482bb12a954 tano port
boisy
parents:
diff changeset
92 echo:
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
93 @$(ECHO) $(BOOTFILE_COVDG_SS80)
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
94
e482bb12a954 tano port
boisy
parents:
diff changeset
95
e482bb12a954 tano port
boisy
parents:
diff changeset
96 # Dragon Alpha Disk boot
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
97 bootfile_covdg_ss80: $(BOOTFILE_COVDG_SS80) $(DEPENDS)
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
98 $(MERGE) $^ > $@
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
99
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
100 bootfile_cohr_ss80: $(BOOTFILE_COHR_SS80) $(DEPENDS)
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
101 $(MERGE) $^ > $@
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
102
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
103 bootfile_covdg_ds80: $(BOOTFILE_COVDG_DS80) $(DEPENDS)
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
104 $(MERGE) $^ > $@
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
105
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
106 bootfile_cohr_ds80: $(BOOTFILE_COHR_DS80) $(DEPENDS)
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
107 $(MERGE) $^ > $@
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
108
e482bb12a954 tano port
boisy
parents:
diff changeset
109 # Dragon Alpha WD2797 Kernel
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
110 kernel: $(KERNEL) $(DEPENDS)
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
111 $(MERGE) $(KERNEL)>$@
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
112 $(PADROM) 4096 $@
e482bb12a954 tano port
boisy
parents:
diff changeset
113
e482bb12a954 tano port
boisy
parents:
diff changeset
114 clean:
e482bb12a954 tano port
boisy
parents:
diff changeset
115 $(RM) $(ALLOBJS)
e482bb12a954 tano port
boisy
parents:
diff changeset
116