Add two variables to adjust where to install kernel and modules.
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Tue, 10 Feb 2009 12:35:13 +0000 (21:35 +0900)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Tue, 10 Feb 2009 12:35:13 +0000 (21:35 +0900)
commit3b25fbd435d9ee6d47af7128014528e2fadfb5e5
tree56ee46892e8830fec61eeaafb9eba11ea0230acf
parent5533af37fd30931afc78968aae6ec851c55235c2
Add two variables to adjust where to install kernel and modules.

DESTLABEL common suffix added to kernel and modules directory.  for
example, `make DESTLABEL=test installkernel' installs them
as /boot/kernel.test and /boot/modules.test, respectively.

DESTKERNDIR where to install kernel and modules, /boot by default.

Add /sys/conf/kern.path.mk to define default paths for kernel and modules.
Also move KMOD* definitions to /sys/conf/kmod.mk where it really belongs.

Submitted-by: Stefan Johannesdal <stefan.johannesdal@gmail.com>
with a slight modification by me.
share/mk/bsd.kmod.mk
share/mk/bsd.own.mk
sys/conf/kern.paths.mk [new file with mode: 0644]
sys/conf/kern.post.mk
sys/conf/kern.pre.mk
sys/conf/kmod.mk