2000-10-16 10:46:22 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-10-30 03:12:28 +00:00
|
|
|
.include <bsd.init.mk>
|
|
|
|
|
2000-10-16 10:46:22 +00:00
|
|
|
LIB= ofw
|
|
|
|
|
2018-03-03 23:39:07 +00:00
|
|
|
SRCS= devicename.c ofw_console.c ofw_copy.c ofw_disk.c \
|
2002-11-10 19:17:36 +00:00
|
|
|
ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \
|
2007-06-17 00:17:15 +00:00
|
|
|
ofw_time.c openfirm.c
|
2017-10-30 23:14:59 +00:00
|
|
|
.PATH: ${ZFSSRC}
|
2012-05-12 20:27:33 +00:00
|
|
|
SRCS+= devicename_stubs.c
|
2020-06-20 07:46:43 +00:00
|
|
|
CFLAGS+= -I${ZFSSRC} -I${SYSDIR}/cddl/boot/zfs
|
2020-06-20 08:22:57 +00:00
|
|
|
CFLAGS+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/common
|
2000-10-16 10:46:22 +00:00
|
|
|
|
|
|
|
# Pick up the bootstrap header for some interface items
|
2017-11-10 23:54:58 +00:00
|
|
|
CFLAGS+= -I${LDRSRC}
|
2000-10-16 10:46:22 +00:00
|
|
|
|
2000-11-10 06:39:58 +00:00
|
|
|
.ifdef(BOOT_DISK_DEBUG)
|
2000-10-16 10:46:22 +00:00
|
|
|
# Make the disk code more talkative
|
|
|
|
CFLAGS+= -DDISK_DEBUG
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|