31062da1b0
boot loaders that load the loader already handle A20. In fact, they are required to do so in order to setup the environment that btxldr expects.
37 lines
905 B
Makefile
37 lines
905 B
Makefile
# $FreeBSD$
|
|
#
|
|
LIB= pc98
|
|
INTERNALLIB=
|
|
|
|
.PATH: ${.CURDIR}/../../i386/libi386
|
|
|
|
SRCS= bioscd.c biosdisk.c biosmem.c biospnp.c biospci.c biossmap.c \
|
|
bootinfo.c bootinfo32.c comconsole.c devicename.c elf32_freebsd.c \
|
|
i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
|
|
time.c vidconsole.c
|
|
|
|
BOOT_COMCONSOLE_PORT?= 0x238
|
|
CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT}
|
|
|
|
BOOT_COMCONSOLE_SPEED?= 9600
|
|
CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
|
|
|
|
.ifdef(BOOT_BIOSDISK_DEBUG)
|
|
# Make the disk code more talkative
|
|
CFLAGS+= -DDISK_DEBUG
|
|
.endif
|
|
|
|
# Include simple terminal emulation (cons25-compatible)
|
|
CFLAGS+= -DTERM_EMU
|
|
|
|
# XXX: make alloca() useable
|
|
CFLAGS+= -Dalloca=__builtin_alloca
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
|
|
-I${.CURDIR}/../../i386/libi386 \
|
|
-I${.CURDIR}/../../.. -I.
|
|
# the location of libstand
|
|
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
|
|
|
.include <bsd.lib.mk>
|