summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-05-21 09:44:52 +0000
committernyan <nyan@FreeBSD.org>2002-05-21 09:44:52 +0000
commit6c2b9542c63077b1f67df2ac9e1523caed99f27c (patch)
treeca251b0e9d357153dd31d93d4c8cdaaa30c6c2cb /sys/boot
parent73f7d5a47739afd2ff6b4aa7537fc717396dc787 (diff)
downloadFreeBSD-src-6c2b9542c63077b1f67df2ac9e1523caed99f27c.zip
FreeBSD-src-6c2b9542c63077b1f67df2ac9e1523caed99f27c.tar.gz
MFi386: revision 1.22
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/libpc98/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/boot/pc98/libpc98/Makefile b/sys/boot/pc98/libpc98/Makefile
index cec2491..a09d0b7 100644
--- a/sys/boot/pc98/libpc98/Makefile
+++ b/sys/boot/pc98/libpc98/Makefile
@@ -11,21 +11,12 @@ SRCS= aout_freebsd.c biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
time.c vidconsole.c
CFLAGS+= -ffreestanding
-CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
- -I${.CURDIR}/../../i386/libi386 \
- -I${.CURDIR}/../../../contrib/dev/acpica \
- -I${.CURDIR}/../../.. -I.
-CFLAGS+= -DPC98
-
BOOT_COMCONSOLE_PORT?= 0x238
CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT}
BOOT_COMCONSOLE_SPEED?= 9600
CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
-# the location of libstand
-CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
-
.ifdef(BOOT_BIOSDISK_DEBUG)
# Make the disk code more talkative
CFLAGS+= -DDISK_DEBUG
@@ -34,6 +25,14 @@ CFLAGS+= -DDISK_DEBUG
# Include simple terminal emulation (cons25-compatible)
CFLAGS+= -DTERM_EMU
+CFLAGS+= -DPC98
+CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
+ -I${.CURDIR}/../../i386/libi386 \
+ -I${.CURDIR}/../../../contrib/dev/acpica \
+ -I${.CURDIR}/../../.. -I.
+# the location of libstand
+CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
+
# Make "machine" required for all objects
# (based on the more complete case in sys/i386/boot/Makefile.inc)
${SRCS:M*.c:R:S/$/.o/g}: machine
OpenPOWER on IntegriCloud