Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/fdisk/mbr i386/amd64 mbr is now built in sys/arch/i386/...



details:   https://anonhg.NetBSD.org/src/rev/cd228d03775c
branches:  trunk
changeset: 546511:cd228d03775c
user:      dsl <dsl%NetBSD.org@localhost>
date:      Wed Apr 30 19:50:42 2003 +0000

description:
i386/amd64 mbr is now built in sys/arch/i386/stand/mbr

diffstat:

 sbin/fdisk/mbr/Makefile |  18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diffs (32 lines):

diff -r afa3d4e575a2 -r cd228d03775c sbin/fdisk/mbr/Makefile
--- a/sbin/fdisk/mbr/Makefile   Wed Apr 30 19:49:01 2003 +0000
+++ b/sbin/fdisk/mbr/Makefile   Wed Apr 30 19:50:42 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2003/04/26 19:18:23 fvdl Exp $
+#      $NetBSD: Makefile,v 1.17 2003/04/30 19:50:42 dsl Exp $
 
 MAN=   mbr.8
 MLINKS=        mbr.8 bootselect.8
@@ -16,21 +16,7 @@
 LDFLAGS+= -e _start -N
 .endif
 
-.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
-PROG=  mbr
-SRCS=  mbr.S
-
-.if ${MACHINE} == "amd64"
-LDFLAGS+=  -m elf_i386
-AFLAGS+=   -m32
-.endif
-
-${PROG}: ${OBJS}
-       ${LD} -o ${PROG}.tmp ${LDFLAGS} -Ttext 0x600 ${OBJS}
-       ${STRIP} ${PROG}.tmp
-       ${OBJCOPY} -O binary ${PROG}.tmp ${PROG}
-       rm -f ${PROG}.tmp
-.elif ${MACHINE} == "macppc"
+.if ${MACHINE} == "macppc"
 PROG=  mbr
 SRCS=  mbr_macppc.S
 



Home | Main Index | Thread Index | Old Index