diff options
Diffstat (limited to 'sys/conf/Makefile.pc98')
-rw-r--r-- | sys/conf/Makefile.pc98 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 28b6ce8140b9..2f52ccb0ef44 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -217,6 +217,14 @@ kernel-tags: sed -e 's, ../, ,' tags > tags1 kernel-install kernel-install.debug: + @if [ ! -f ${DESTDIR}/boot/device.hints ] ; then \ + echo "You must set up a /boot/device.hints file first." ; \ + exit 1 ; \ + fi + @if [ x"`grep device.hints /boot/defaults/loader.conf /boot/loader.conf`" = "x" ]; then \ + echo "You must activate /boot/device.hints in loader.conf." ; \ + exit 1 ; \ + fi @if [ ! -f ${KERNEL}${.TARGET:S/kernel-install//} ] ; then \ echo "You must build a kernel first." ; \ exit 1 ; \ |