]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - targets/pseudo/kernel/Makefile
Fix insufficient oce(4) ioctl(2) privilege checking.
[FreeBSD/FreeBSD.git] / targets / pseudo / kernel / Makefile
1 # $FreeBSD$
2
3 # Build the kernel ${KERNCONF}
4 KERNCONF?= ${KERNEL:UGENERIC}
5
6 TARGET?= ${MACHINE}
7 # keep this compatible with peoples expectations...
8 KERN_OBJDIR= ${OBJTOP}/sys/${KERNCONF}
9 KERN_CONFDIR= ${SRCTOP}/sys/${TARGET}/conf
10
11 CONFIG= ${STAGE_HOST_OBJTOP}/usr/sbin/config
12
13 ${KERNCONF}.config: .MAKE ${META_DEPS}
14         mkdir -p ${KERN_OBJDIR:H}
15         (cd ${KERN_CONFDIR} && \
16         ${CONFIG} ${CONFIGARGS} -d ${KERN_OBJDIR} ${KERNCONF})
17
18 ${KERNCONF}.build: .MAKE ${KERNCONF}.config
19         (cd ${KERN_OBJDIR} && ${.MAKE})
20
21 .if ${.MAKE.LEVEL} > 0
22 all: ${KERNCONF}.build
23 .endif
24
25 UPDATE_DEPENDFILE= no
26
27 .include <bsd.prog.mk>