It is disabled by default. You need to put LOADER_FIREWIRE_SUPPORT=yes in /etc/make.conf and rebuild loader to enable it. (cd /sys/boot/i386 && make clean && make && make install) You can find a short introduction of dcons at http://wiki.freebsd.org/DebugWithDcons
31 lines
609 B
Makefile
31 lines
609 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= firewire
|
|
INTERNALLIB=
|
|
|
|
.PATH: ${.CURDIR}/../../../dev/dcons ${.CURDIR}/../../../dev/firewire
|
|
SRCS+= firewire.c fwohci.c dconsole.c
|
|
SRCS+= dcons.c fwcrom.c
|
|
|
|
CFLAGS+= -D_BOOT
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
|
|
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
|
CFLAGS+= -I${.CURDIR}/../btx/lib
|
|
CFLAGS+= -I${.CURDIR}/../libi386
|
|
|
|
CFLAGS+= -Wformat -Wall
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
CLEANFILES+= machine
|
|
machine:
|
|
ln -sf ${.CURDIR}/../../../i386/include machine
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
beforedepend ${OBJS}: machine
|
|
.endif
|
|
|