6 SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
7 biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \
8 comconsole.c devicename.c elf32_freebsd.c \
10 i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
11 smbios.c time.c vidconsole.c amd64_tramp.S
13 BOOT_COMCONSOLE_PORT?= 0x3f8
14 CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT}
16 BOOT_COMCONSOLE_SPEED?= 9600
17 CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
19 .ifdef(BOOT_BIOSDISK_DEBUG)
20 # Make the disk code more talkative
24 .if !defined(BOOT_HIDE_SERIAL_NUMBERS)
25 # Export serial numbers, UUID, and asset tag from loader.
26 CFLAGS+= -DSMBIOS_SERIAL_NUMBERS
29 .if !defined(LOADER_NO_GPT_SUPPORT)
30 CFLAGS+= -DLOADER_GPT_SUPPORT
33 # Include simple terminal emulation (cons25-compatible)
36 # XXX: make alloca() useable
37 CFLAGS+= -Dalloca=__builtin_alloca
39 CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
40 -I${.CURDIR}/../../../contrib/dev/acpica \
41 -I${.CURDIR}/../../.. -I.
42 # the location of libstand
43 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
45 .if ${MACHINE_ARCH} == "amd64"
48 ln -sf ${.CURDIR}/../../../i386/include machine
53 .if ${MACHINE_ARCH} == "amd64"
54 beforedepend ${OBJS}: machine