95d1f25b28
The test script now resolves the device node into a <label,minor> pair, so that the blocktest driver itself no longer has to. This removes blocktest's dependency on VFS' internal data structures. Also allow blocktest to be linked using with gcc/clang.
9 lines
267 B
Makefile
9 lines
267 B
Makefile
# Copied from drivers/Makefile.inc, and slightly edited.
|
|
.if ${COMPILER_TYPE} == "gnu"
|
|
CPPFLAGS+= -D_MINIX -D_NETBSD_SOURCE
|
|
LDADD+= -lminlib -lcompat_minix -lc
|
|
DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
|
|
.else
|
|
CPPFLAGS+= -D_MINIX -D_POSIX_SOURCE
|
|
.endif
|
|
BINDIR?=/usr/sbin
|