make compile on !playstation
This commit is contained in:
parent
848b0d8582
commit
d5c5392912
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2002/10/17 02:05:38 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2003/01/11 19:37:48 christos Exp $
|
||||
#
|
||||
# Makefile for playstation2
|
||||
#
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
SRCS= menu_defs.c msg_defs.c main.c install.c upgrade.c \
|
||||
txtwalk.c run.c factor.c net.c disks.c disks_lfs.c util.c geom.c \
|
||||
label.c target.c md.c mbr.c mbr_buf.s
|
||||
label.c target.c md.c mbr.c mbr_buf.S savenewlabel.c sizemultname.c
|
||||
|
||||
fdisk.o md.o: menu_defs.h msg_defs.h
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifdef __mips__
|
||||
.abicalls
|
||||
.bss
|
||||
.align 2
|
||||
.space 2
|
||||
.globl mbr
|
||||
mbr: .space 512
|
||||
#endif
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: md.c,v 1.3 2002/12/05 01:17:27 fvdl Exp $ */
|
||||
/* $NetBSD: md.c,v 1.4 2003/01/11 19:37:49 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -48,7 +48,11 @@
|
||||
#include "menu_defs.h"
|
||||
#include "bsddisklabel.c"
|
||||
|
||||
#ifdef __mips__
|
||||
extern char mbr[512];
|
||||
#else
|
||||
char mbr[512];
|
||||
#endif
|
||||
|
||||
int
|
||||
md_get_info()
|
||||
|
Loading…
Reference in New Issue
Block a user