From owner-freebsd-hackers Tue Jun 5 10:20:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 2776E37B405 for ; Tue, 5 Jun 2001 10:20:16 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f55HKFE94895 for ; Tue, 5 Jun 2001 11:20:15 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200106051720.f55HKFE94895@harmony.village.org> To: hackers@freebsd.org Subject: Host dependency in sysinstall Date: Tue, 05 Jun 2001 11:20:15 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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