aboutsummaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2007-07-13 14:28:10 +0000
committerWarner Losh <imp@FreeBSD.org>2007-07-13 14:28:10 +0000
commitb906fea63dbbb1c28e30519ca1d35cc8632f64b7 (patch)
tree6bb55c44ac66414f4923788825509b02748da009 /etc/Makefile
parent229af622b8d2aff81f37312f16a277367a385791 (diff)
downloadsrc-b906fea63dbbb1c28e30519ca1d35cc8632f64b7.tar.gz
src-b906fea63dbbb1c28e30519ca1d35cc8632f64b7.zip
Arm doesn't have GENERIC.hints, so don't install it if it doesn't exist.
Approved by: re (kensmith)
Notes
Notes: svn path=/head/; revision=171427
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index ffc358208c8a..fb0e3e87450e 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}/