diff --git a/release/sysinstall/Makefile b/release/sysinstall/Makefile index 155b93ba3eb3..db2a2cb1dffe 100644 --- a/release/sysinstall/Makefile +++ b/release/sysinstall/Makefile @@ -52,7 +52,9 @@ makedevs.c: Makefile rtermcap keymap.h ./rtermcap vt100 | \ file2c 'const char termcap_vt100[] = {' ',0};' \ >> makedevs.tmp +.if ${MACHINE_ARCH} != "alpha" file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp +.endif mv makedevs.tmp makedevs.c rtermcap: ${.CURDIR}/rtermcap.c diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c index de3046f4ad6a..fd2bed49b1c8 100644 --- a/release/sysinstall/disks.c +++ b/release/sysinstall/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.104 1998/10/07 03:15:08 jkh Exp $ + * $Id: disks.c,v 1.105 1998/10/13 09:45:59 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -135,12 +135,12 @@ print_command_summary() static u_char * getBootMgr(char *dname) { +#ifndef __alpha__ /* only meaningful on x86 */ extern u_char mbr[], boot0[]; char str[80]; char *cp; int i = 0; -#ifndef __alpha__ /* only meaningful on x86 */ cp = variable_get(VAR_BOOTMGR); if (!cp) { /* Figure out what kind of MBR the user wants */ diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile index 155b93ba3eb3..db2a2cb1dffe 100644 --- a/usr.sbin/sade/Makefile +++ b/usr.sbin/sade/Makefile @@ -52,7 +52,9 @@ makedevs.c: Makefile rtermcap keymap.h ./rtermcap vt100 | \ file2c 'const char termcap_vt100[] = {' ',0};' \ >> makedevs.tmp +.if ${MACHINE_ARCH} != "alpha" file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp +.endif mv makedevs.tmp makedevs.c rtermcap: ${.CURDIR}/rtermcap.c diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index de3046f4ad6a..fd2bed49b1c8 100644 --- a/usr.sbin/sade/disks.c +++ b/usr.sbin/sade/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.104 1998/10/07 03:15:08 jkh Exp $ + * $Id: disks.c,v 1.105 1998/10/13 09:45:59 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -135,12 +135,12 @@ print_command_summary() static u_char * getBootMgr(char *dname) { +#ifndef __alpha__ /* only meaningful on x86 */ extern u_char mbr[], boot0[]; char str[80]; char *cp; int i = 0; -#ifndef __alpha__ /* only meaningful on x86 */ cp = variable_get(VAR_BOOTMGR); if (!cp) { /* Figure out what kind of MBR the user wants */ diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile index 155b93ba3eb3..db2a2cb1dffe 100644 --- a/usr.sbin/sysinstall/Makefile +++ b/usr.sbin/sysinstall/Makefile @@ -52,7 +52,9 @@ makedevs.c: Makefile rtermcap keymap.h ./rtermcap vt100 | \ file2c 'const char termcap_vt100[] = {' ',0};' \ >> makedevs.tmp +.if ${MACHINE_ARCH} != "alpha" file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp +.endif mv makedevs.tmp makedevs.c rtermcap: ${.CURDIR}/rtermcap.c diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index de3046f4ad6a..fd2bed49b1c8 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.104 1998/10/07 03:15:08 jkh Exp $ + * $Id: disks.c,v 1.105 1998/10/13 09:45:59 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -135,12 +135,12 @@ print_command_summary() static u_char * getBootMgr(char *dname) { +#ifndef __alpha__ /* only meaningful on x86 */ extern u_char mbr[], boot0[]; char str[80]; char *cp; int i = 0; -#ifndef __alpha__ /* only meaningful on x86 */ cp = variable_get(VAR_BOOTMGR); if (!cp) { /* Figure out what kind of MBR the user wants */