Line | |
---|
1 | |
---|
2 | .PHONY: all |
---|
3 | all: bios |
---|
4 | |
---|
5 | .PHONY: bios |
---|
6 | bios: biossums BIOS-bochs-latest |
---|
7 | |
---|
8 | .PHONY: clean |
---|
9 | clean: |
---|
10 | rm -f *.o *.a *.s rombios.bin _rombios*_.c |
---|
11 | rm -f as86-sym.txt ld86-sym.txt |
---|
12 | rm -f rombios*.txt rombios*.sym usage biossums |
---|
13 | rm -f BIOS-bochs-* |
---|
14 | |
---|
15 | BIOS-bochs-latest: rombios.c biossums 32bitgateway.c tcgbios.c |
---|
16 | gcc -DBX_SMP_PROCESSORS=1 -E -P $< > _rombios_.c |
---|
17 | bcc -o rombios.s -C-c -D__i86__ -0 -S _rombios_.c |
---|
18 | sed -e 's/^\.text//' -e 's/^\.data//' rombios.s > _rombios_.s |
---|
19 | as86 _rombios_.s -b tmp.bin -u- -w- -g -0 -j -O -l rombios.txt |
---|
20 | -perl makesym.perl < rombios.txt > rombios.sym |
---|
21 | mv tmp.bin BIOS-bochs-latest |
---|
22 | ./biossums BIOS-bochs-latest |
---|
23 | rm -f _rombios_.s |
---|
24 | |
---|
25 | biossums: biossums.c |
---|
26 | gcc -o biossums biossums.c |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.