Don't make having ${DESTDIR}/boot/device.hints a prerequisite to

installing a kernel on ia64.
This commit is contained in:
Marcel Moolenaar 2004-03-20 22:47:30 +00:00
parent 562174ff37
commit 7b5ee3392b

View File

@ -165,8 +165,9 @@ kernel-tags:
rm -f tags1
sed -e 's, ../, ,' tags > tags1
kernel-install:
.if ${MACHINE_ARCH} != "ia64"
.if exists(${DESTDIR}/boot)
kernel-install-check:
@if [ ! -f ${DESTDIR}/boot/device.hints ] ; then \
echo "You must set up a ${DESTDIR}/boot/device.hints file first." ; \
exit 1 ; \
@ -175,7 +176,12 @@ kernel-install:
echo "You must activate /boot/device.hints in loader.conf." ; \
exit 1 ; \
fi
kernel-install: kernel-install-check
.endif
.endif
kernel-install:
@if [ ! -f ${FULLKERNEL} ] ; then \
echo "You must build a kernel first." ; \
exit 1 ; \