6 .PATH: ${.CURDIR}/../../i386/libi386
8 SRCS= bioscd.c biosdisk.c biosmem.c biospnp.c biospci.c biossmap.c \
9 bootinfo.c bootinfo32.c comconsole.c devicename.c elf32_freebsd.c \
10 i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
13 # Enable PXE TFTP or NFS support, not both.
14 .if defined(LOADER_TFTP_SUPPORT)
15 CFLAGS+= -DLOADER_TFTP_SUPPORT
17 CFLAGS+= -DLOADER_NFS_SUPPORT
20 BOOT_COMCONSOLE_PORT?= 0x238
21 CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT}
23 BOOT_COMCONSOLE_SPEED?= 9600
24 CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
26 .ifdef(BOOT_BIOSDISK_DEBUG)
27 # Make the disk code more talkative
31 # Include simple terminal emulation (cons25-compatible)
34 # XXX: make alloca() useable
35 CFLAGS+= -Dalloca=__builtin_alloca
37 CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
38 -I${.CURDIR}/../../i386/libi386 \
39 -I${.CURDIR}/../../.. -I.
40 # the location of libstand
41 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/