blob: 07bb837f6f33d5705f7d1e746a70fb4bc42d77d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
echo off
goto start
/******************************************************************
NT/Alpha AXP firmware build script
Copyright (c) 1993 Digital Equipment Corporation
John DeRosa 16-July-1992
This will compile and link the NT/Alpha AXP firmware package.
At the moment this is geared to Jensen.
Parameters:
-c says to do a build -c.
*********************************************************************/
:start
rem
rem Define variables used in the build process.
rem
rem The top-level of the working NT sources directory tree.
set BuildPool=\nt
rem
rem Analyze command line parameters.
rem
set BuildSwitch=
if "%1"=="-c" set BuildSwitch=-c
rem
rem Build the firmware.
rem
echo *** Building bldr files... ***
cd %BuildPool%\private\ntos\bldr
build %BuildSwitch%
if not errorlevel 0 goto ERROREXIT
echo *** Building hal files... ***
cd %BuildPool%\private\ntos\nthals\hal0jens
build %BuildSwitch%
if not errorlevel 0 goto ERROREXIT
echo *** Building rtl files... ***
cd %BuildPool%\private\ntos\rtl
build %BuildSwitch%
if not errorlevel 0 goto ERROREXIT
echo *** Building fw files... ***
cd %BuildPool%\private\ntos\fw
build %BuildSwitch%
if not errorlevel 0 goto ERROREXIT
goto NORMALEXIT
rem
rem Here on some kind of error.
rem
:ERROREXIT
echo ???
echo ??? ERROR during build. Build terminated with extreme prejudice.
echo ???
rem
rem Here to exit the procedure.
rem
:NORMALEXIT
copy %BuildPool%\private\ntos\bldr\build.log %BuildPool%\private\ntos\fw\be_firm.log
type %BuildPool%\private\ntos\nthals\hal0jens\build.log >> %BuildPool%\private\ntos\fw\be_firm.log
type %BuildPool%\private\ntos\rtl\build.log >> %BuildPool%\private\ntos\fw\be_firm.log
rem
rem type %BuildPool%\private\ntos\ke\build.log >> %BuildPool%\private\ntos\fw\be_firm.log
rem
type %BuildPool%\private\ntos\fw\build.log >> %BuildPool%\private\ntos\fw\be_firm.log
echo *** Build done. Look in fw\be_firm.log for merged build logs.
echo *** Check the obj\alpha area.
rem
rem return to the firmware directory
rem
cd %BuildPool%\private\ntos\fw
@echo on
|