VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/BIOS/makefile@ 55998

Last change on this file since 55998 was 50160, checked in by vboxsync, 11 years ago

BIOS: Rearranged POST to initialize video earlier.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1# Compiler flags:
2# -q no banner
3# -wx max warnings
4# -0 generate 8086 code
5# -ms force small model (default)
6# -s remove runtime stack checks (required)
7# -os optimize for size
8# -zu assume that SS != DS (required)
9# -ecc default to __cdecl calling convention (bad idea)
10#
11!ifdef __UNIX__
12Q=\"
13!else
14Q="
15!endif
16CFLAGS = -q -0 -wx -zu -s -oas -d1+ -ms
17CFLAGS32 = -q -wx -zu -s -oas -d1+ -ms -nt=BIOS32 -nd=BIOS32
18
19DEFS = -DVBOX -DVBOX_LANBOOT_SEG=0xE200 -DVBOX_VERSION_STRING=$(Q)0.9$(Q) &
20 -DVBOX_WITH_SCSI -DVBOX_WITH_AHCI
21
22AFLAGS = -q -0 -wx
23
24INCLS = -I$(Q)../../../../../include$(Q)
25
26.c.obj : .autodepend
27 wcc -fo=.obj $(CFLAGS) $(DEFS) $(INCLS) $<
28
29.asm.obj : .autodepend
30 wasm -fo=.obj $(AFLAGS) $(DEFS) $<
31
32OBJS = bios.obj post.obj ata.obj floppy.obj floppyt.obj eltorito.obj &
33 boot.obj keyboard.obj disk.obj serial.obj system.obj invop.obj &
34 timepci.obj logo.obj ps2mouse.obj parallel.obj scsi.obj &
35 ahci.obj apm.obj apm_pm.obj pcibios.obj pciutil.obj vds.obj &
36 print.obj pcibio32.obj pci32.obj orgs.obj
37
38vbxbios.rom : vbxbios.bin
39 biossums $< $@
40
41vbxbios.bin : $(OBJS) $(__MAKEFILES__)
42 wlink name $@ system dos debug all option quiet &
43 option nofarcalls, map, verbose, statics, symfile &
44 output raw offset=0xF0000 order &
45 clname DATA segaddr=0xF000 segment _DATA &
46 clname CODE &
47 segment _TEXT segaddr=0xF000 offset=0x1600 &
48 segment BIOS32 segaddr=0xF000 offset=0xDB00 &
49 segment BIOSSEG segaddr=0xF000 offset=0xE000 &
50 file { $(OBJS) } &
51 library clibs.lib &
52 disable 1014, 1023, 2120
53
54logo.obj : logo.c .autodepend
55 wcc -fo=.obj $(INCLS) $(CFLAGS) $(DEFS) -DVBOX_PC_BIOS $<
56
57pci32.obj : pci32.c .autodepend
58 wcc386 -fo=.obj $(INCLS) $(DEFS) $(CFLAGS32) $<
59
60clean : .symbolic
61 @rm -f *.obj *.err
62 @rm -f vbxbios.bin vbxbios.rom vbxbios.map vbxbios.sym
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette