summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-07-13 14:28:10 +0000
committerimp <imp@FreeBSD.org>2007-07-13 14:28:10 +0000
commit3220a0fc84411603c9bf97b1915541d6888bd537 (patch)
tree6bb55c44ac66414f4923788825509b02748da009 /etc
parent35135c111f03ae745f80adbf5878693ead341a46 (diff)
downloadFreeBSD-src-3220a0fc84411603c9bf97b1915541d6888bd537.zip
FreeBSD-src-3220a0fc84411603c9bf97b1915541d6888bd537.tar.gz
Arm doesn't have GENERIC.hints, so don't install it if it doesn't exist.
Approved by: re (kensmith)
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index ffc3582..fb0e3e8 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -184,9 +184,11 @@ distribution:
${DESTDIR}/var/crash
cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${FREEBSD} ${DESTDIR}/
+.if exists(${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints)
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \
${DESTDIR}/boot/device.hints
+.endif
distrib-dirs:
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/
OpenPOWER on IntegriCloud