tests: print error locations verbosely
[minix3.git] / share / mk / bsd.kernobj.mk
blob5d4184d62fa72a3356609f5b1aa39f6fb2259111
1 # $NetBSD: bsd.kernobj.mk,v 1.13 2010/01/25 00:43:00 christos Exp $
3 # KERNSRCDIR Is the location of the top of the kernel src.
4 # It defaults to `${NETBSDSRCDIR}/sys'.
6 # KERNARCHDIR Is the location of the machine dependent kernel sources.
7 # It defaults to `arch/${MACHINE}', but may be overridden
8 # in case ${MACHINE} is not correct.
10 # KERNCONFDIR Is where the configuration files for kernels are found.
11 # It defaults to `${KERNSRCDIR}/${KERNARCHDIR}/conf'.
13 # KERNOBJDIR Is the kernel build directory. The kernel GENERIC for
14 # instance will be compiled in ${KERNOBJDIR}/GENERIC.
15 # The default is the .OBJDIR of
16 # `${KERNSRCDIR}/${KERNARCHDIR}/compile'.
19 .include <bsd.own.mk>
21 KERNSRCDIR?= ${NETBSDSRCDIR}/sys
22 KERNARCHDIR?= arch/${MACHINE}
23 KERNCONFDIR?= ${KERNSRCDIR}/${KERNARCHDIR}/conf
24 .if !defined(KERNOBJDIR) && exists(${KERNSRCDIR}/${KERNARCHDIR}/compile)
25 KERNOBJDIR!= cd "${KERNSRCDIR}/${KERNARCHDIR}/compile" && ${PRINTOBJDIR}
26 .endif