summaryrefslogtreecommitdiffstats
path: root/sbin/Makefile
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-07-04 04:33:33 +0000
committermarcel <marcel@FreeBSD.org>2008-07-04 04:33:33 +0000
commit01e5f7ef0fe67b25522710e27308a21fb3ca3c67 (patch)
treefd5d688b0fffb6d3ed26aa1a45ed5659c6f8ec97 /sbin/Makefile
parent482bfeab4715003445dbf838bbdcce673740ff7d (diff)
downloadFreeBSD-src-01e5f7ef0fe67b25522710e27308a21fb3ca3c67.zip
FreeBSD-src-01e5f7ef0fe67b25522710e27308a21fb3ca3c67.tar.gz
Make sunlabel specific to sparc64. This is mostly for backward
compatibility reasons. Sun labels, with VTOC8, are handled by gpart(8).
Diffstat (limited to 'sbin/Makefile')
-rw-r--r--sbin/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/Makefile b/sbin/Makefile
index 3d187cf..a5dc1c4 100644
--- a/sbin/Makefile
+++ b/sbin/Makefile
@@ -85,7 +85,7 @@ SUBDIR= adjkerntz \
slattach \
spppcontrol \
startslip \
- sunlabel \
+ ${_sunlabel} \
swapon \
sysctl \
tunefs \
@@ -138,4 +138,8 @@ _fdisk= fdisk
_mca= mca
.endif
+.if ${MACHINE_ARCH} == "sparc64"
+_sunlabel= sunlabel
+.endif
+
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud