summaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2002-11-04 00:50:01 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2002-11-04 00:50:01 +0000
commit710d4ca3718d4518960e9058c84e1a1023ee17c1 (patch)
tree47082cc6be507e26a25032f9c7463447d6e147ad /release/Makefile
parentfb584e48411205c7f3ac442145d4db96c3128dad (diff)
downloadsrc-test2-710d4ca3718d4518960e9058c84e1a1023ee17c1.tar.gz
src-test2-710d4ca3718d4518960e9058c84e1a1023ee17c1.zip
Add the necessary tweaks for FreeBSD/ia64 releases. Note that this is
in no way final. A typical ia64 wart is that there are no boot blocks. Instead, we need to create disks with EFI partitions if we want auto boot to work. All this functionality is not present yet.
Notes
Notes: svn path=/head/; revision=106391
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index 5444397f93d9..0346ca4aa9c7 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -140,7 +140,7 @@ DIST_DOCS_ARCH_DEP= installation relnotes hardware
#
.if ${TARGET_ARCH} == "i386"
COMPAT_DISTS?= compat1x compat20 compat21 compat22 compat3x compat4x
-.else
+.elif ${TARGET_ARCH} != "ia64"
COMPAT_DISTS?= compat4x
.endif
OTHER_DISTS?= catpages manpages games proflibs dict info doc
@@ -207,6 +207,13 @@ BOOTINODE= 8192
MFSINODE= 8192
BIGBOOTLABEL= auto
MFSLABEL= auto
+.elif ${TARGET_ARCH} == "ia64"
+BIGBOOTLABEL= fd120m
+BIGBOOTSIZE= 123264
+BOOTINODE= 15872
+MFSINODE= 8192
+MFSLABEL= auto
+MFSSIZE= 8192
.endif
ZIPNSPLIT= gzip --no-name -9 -c | split -b 240640 -
@@ -244,6 +251,9 @@ LOCALDIR= /usr/local/bin
.if ${TARGET_ARCH} == "sparc64"
CRUNCH_TARGETS= boot
FIXIT_TARGET=
+.elif ${TARGET_ARCH} == "ia64"
+CRUNCH_TARGETS= boot
+FIXIT_TARGET=
.endif
.if !defined(CRUNCH_TARGETS)
@@ -651,7 +661,9 @@ release.9:
.endif
-test -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
@mkdir -p ${RD}/mfsfd/boot
+.if ${TARGET} != "ia64"
@cp ${RD}/trees/base/boot/boot* ${RD}/mfsfd/boot
+.endif
.if ${TARGET} == "i386"
@cp ${RD}/trees/base/boot/mbr ${RD}/mfsfd/boot
.endif
@@ -1000,6 +1012,8 @@ doMFSKERN:
@mkdir -p ${RD}/image.${FSIMAGE}/boot
.if ${TARGET} == "i386"
@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader /boot/loader
+.elif ${TARGET} == "ia64"
+ @cp /boot/loader.efi ${RD}/image.${FSIMAGE}/boot
.else
@cp /boot/loader ${RD}/image.${FSIMAGE}/boot
.endif