xref: /dragonfly/sys/conf/kern.paths.mk (revision f746689a)
1# Set up the default install paths for kernel/modules
2#
3# DESTLABEL		add suffix to kernel and modules directory [not set]
4# DESTKERNDIR		where kernel and modules are to be installed [/boot]
5# DESTKERNNAME		name of installed kernel [${KERNEL}]
6# DESTMODULESNAME	name of modules directory [modules]
7#
8.if defined(DESTLABEL)
9DESTKERNNAME?=		${KERNEL}.${DESTLABEL}
10DESTMODULESNAME?=	modules.${DESTLABEL}
11.else
12DESTKERNNAME?=		${KERNEL}
13DESTMODULESNAME?=	modules
14.endif
15DESTKERNDIR?=		/boot
16
17# Set DESTDIR to /var/vkernel by default for vkernel platform so as
18# not to shoot the real kernel installation.
19.if ${MACHINE_PLATFORM} == vkernel
20DESTDIR?=		/var/vkernel
21.endif
22