summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-04-23 09:01:35 +0000
committerru <ru@FreeBSD.org>2003-04-23 09:01:35 +0000
commit560225c4701568b026e83f60ab0c09ddf7f1edcc (patch)
tree0f2895d8362521000b9aca2a72af4108166aa923 /release/Makefile
parent14fc0ea5a46713c368bf8a252e48a32aed97aacb (diff)
downloadFreeBSD-src-560225c4701568b026e83f60ab0c09ddf7f1edcc.zip
FreeBSD-src-560225c4701568b026e83f60ab0c09ddf7f1edcc.tar.gz
Presumably fix sparc64 "make release". (The breakage was due to
sunlabel(8) no longer being linked to disklabel(8).) Reviewed by: phk
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/release/Makefile b/release/Makefile
index 3d43d8b..82598f6 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -200,6 +200,7 @@ FIXITLABEL= minimum2
MFSLABEL= auto
BIGBOOTLABEL= minimum2
.elif ${TARGET_ARCH} == "sparc64"
+DISKLABEL= sunlabel
BIGBOOTSIZE= 4096
MFSSIZE= 4096
BOOTINODE= 8192
@@ -215,6 +216,8 @@ MFSLABEL= auto
MFSSIZE= 8192
.endif
+DISKLABEL?= disklabel
+
ZIPNSPLIT= gzip --no-name -9 -c | split -b 1423k -
# Things that need to be recompiled with Kerberos support.
@@ -245,13 +248,12 @@ CD_DISC2= ${CD}/disc2
# Where the bootstrap ports (see DOCPORTS) get installed.
LOCALDIR= /usr/local/bin
-# ia64 is different enough that we want our own doFS.sh.
-.if ${TARGET_ARCH} == "ia64"
-DOFS_SH= ${.CURDIR}/ia64/doFS.sh
+.if exists(${.CURDIR}/${TARGET_ARCH}/doFS.sh)
+DOFS_SH= ${.CURDIR}/${TARGET_ARCH}/doFS.sh
.elif ${TARGET} != ${MACHINE}
-DOFS_SH= ${.CURDIR}/scripts/doFS.sh ${TARGET}
+DOFS_SH= ${.CURDIR}/scripts/doFS.sh ${DISKLABEL} ${TARGET}
.else
-DOFS_SH= ${.CURDIR}/scripts/doFS.sh ""
+DOFS_SH= ${.CURDIR}/scripts/doFS.sh ${DISKLABEL} ""
.endif
.if ${TARGET_ARCH} == "sparc64"
OpenPOWER on IntegriCloud