Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2001 11:20:15 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        hackers@freebsd.org
Subject:   Host dependency in sysinstall
Message-ID:  <200106051720.f55HKFE94895@harmony.village.org>

next in thread | raw e-mail | index | archive | help

buildworld uses the boot blocks installed on the system to build
sysinstall, rather than the ones that are build tree.

.if ${MACHINE} == "i386"
	file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp
	echo "size_t boot0_size = sizeof(boot0);" >> makedevs.tmp
	file2c 'u_char mbr[] = {' '};' < /boot/mbr >> makedevs.tmp
	echo "size_t mbr_size = sizeof(mbr);" >> makedevs.tmp
.endif
.if ${MACHINE} == "pc98"
	file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp
	echo "size_t boot0_size = sizeof(boot0);" >> makedevs.tmp
	file2c 'u_char boot05[] = {' '};' < /boot/boot0.5 >> makedevs.tmp
	echo "size_t boot05_size = sizeof(boot05);" >> makedevs.tmp
.endif

What's the right fix for this?  It is breaking my cross building of
pc98 on my i386 box.  I don't have a /boot/boot0.5 on my i386 box :-)

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106051720.f55HKFE94895>