Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


*** empty log message ***
[palacios.git] / palacios / src / vmboot / rombios / Makefile
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
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 BIOS-bochs-latest.elf: rombios.c biossums
26         gcc -DBX_SMP_PROCESSORS=1 -E -P $< > _rombios_elf.c
27         bcc -o rombios_elf.s -C-c -D__i86__ -0 -S _rombios_elf.c
28         sed -e 's/^\.text//' -e 's/^\.data//' rombios_elf.s > _rombios_elf.s
29         as86 _rombios_elf.s  -u- -w- -g -0 -j -O -l rombios_elf.txt
30         -perl makesym.perl < rombios_elf.txt > rombios_elf.sym
31         mv tmp.bin BIOS-bochs-latest.elf
32         ./biossums BIOS-bochs-latest.elf
33 #       rm -f _rombios_.s
34
35 biossums: biossums.c
36         gcc -o biossums biossums.c
37