diff options
author | marcel <marcel@FreeBSD.org> | 2004-03-20 22:47:30 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-03-20 22:47:30 +0000 |
commit | 4b8df6a6bc256dc94338ef9034e5dd7175e3ab37 (patch) | |
tree | 3bf23a611432ae0c8cb0e1284a31d74444dd0614 /sys/conf/kern.post.mk | |
parent | fd76a93ff8472c370cd22ccf063020bdd86bcd69 (diff) | |
download | FreeBSD-src-4b8df6a6bc256dc94338ef9034e5dd7175e3ab37.zip FreeBSD-src-4b8df6a6bc256dc94338ef9034e5dd7175e3ab37.tar.gz |
Don't make having ${DESTDIR}/boot/device.hints a prerequisite to
installing a kernel on ia64.
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r-- | sys/conf/kern.post.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 3c71dcc..7bab75b 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -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 ; \ |