475008d6ca
Since rS330365, there has been no particular reason for libofw to be in a subdirectory of ofw. Move libofw up a level to make it fit in better with the other top level libraries. Also add a LIBOFWSRC to stand/defs.mk to match what all the other libraries are doing. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D23000
23 lines
436 B
Makefile
23 lines
436 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
LIB= ofw
|
|
|
|
SRCS= devicename.c ofw_console.c ofw_copy.c ofw_disk.c \
|
|
ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \
|
|
ofw_time.c openfirm.c
|
|
.PATH: ${ZFSSRC}
|
|
SRCS+= devicename_stubs.c
|
|
CFLAGS+= -I${ZFSSRC}
|
|
|
|
# Pick up the bootstrap header for some interface items
|
|
CFLAGS+= -I${LDRSRC}
|
|
|
|
.ifdef(BOOT_DISK_DEBUG)
|
|
# Make the disk code more talkative
|
|
CFLAGS+= -DDISK_DEBUG
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|