Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/boot Make cross-compile friendly
details: https://anonhg.NetBSD.org/src/rev/6ee61aa47a11
branches: trunk
changeset: 494172:6ee61aa47a11
user: matt <matt%NetBSD.org@localhost>
date: Mon Jul 03 04:24:12 2000 +0000
description:
Make cross-compile friendly
diffstat:
sys/arch/vax/boot/Makefile.inc | 4 ++--
sys/arch/vax/boot/boot/Makefile | 8 ++++----
sys/arch/vax/boot/xxboot/Makefile | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (58 lines):
diff -r bcdbf260ef9d -r 6ee61aa47a11 sys/arch/vax/boot/Makefile.inc
--- a/sys/arch/vax/boot/Makefile.inc Mon Jul 03 04:02:34 2000 +0000
+++ b/sys/arch/vax/boot/Makefile.inc Mon Jul 03 04:24:12 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 1999/07/18 05:55:45 abs Exp $
+# $NetBSD: Makefile.inc,v 1.3 2000/07/03 04:24:12 matt Exp $
XXRPB=0x1F4240
RELOC=0x2f0000
@@ -9,4 +9,4 @@
# Private handling of assembler files.
.s.o:
- ${CC} -x assembler-with-cpp ${CPPFLAGS} -E ${.IMPSRC} | as -o ${.TARGET}
+ ${CC} -x assembler-with-cpp ${CPPFLAGS} -E ${.IMPSRC} | ${AS} -o ${.TARGET}
diff -r bcdbf260ef9d -r 6ee61aa47a11 sys/arch/vax/boot/boot/Makefile
--- a/sys/arch/vax/boot/boot/Makefile Mon Jul 03 04:02:34 2000 +0000
+++ b/sys/arch/vax/boot/boot/Makefile Mon Jul 03 04:24:12 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2000/06/15 19:53:23 ragge Exp $
+# $NetBSD: Makefile,v 1.11 2000/07/03 04:24:13 matt Exp $
S= ${.CURDIR}/../../../..
@@ -36,11 +36,11 @@
CLEANFILES+= machine ${MACHINE_ARCH}
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
- ld -N -Ttext ${RELOC} -e nisse -o ${PROG} ${OBJS} \
+ ${LD} -N -Ttext ${RELOC} -e nisse -o ${PROG} ${OBJS} \
${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
/usr/sbin/mopa.out ${PROG} ${PROG}.mop
- strip ${PROG}
- size ${PROG}
+ ${STRIP} ${PROG}
+ ${SIZE} ${PROG}
install:
${INSTALL} -c -m 555 -o ${BINOWN} -g ${BINGRP} ${PROG} ${DESTDIR}${BINDIR}
diff -r bcdbf260ef9d -r 6ee61aa47a11 sys/arch/vax/boot/xxboot/Makefile
--- a/sys/arch/vax/boot/xxboot/Makefile Mon Jul 03 04:02:34 2000 +0000
+++ b/sys/arch/vax/boot/xxboot/Makefile Mon Jul 03 04:24:12 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/06/19 04:22:14 matt Exp $
+# $NetBSD: Makefile,v 1.8 2000/07/03 04:24:13 matt Exp $
S= ${.CURDIR}/../../../..
@@ -38,7 +38,7 @@
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
${PROG}: ${OBJS} ${LIBSA} ${LIBKERN}
- ld -N -Ttext 100000 -o ${PROG}.out ${OBJS} ${LIBSA} ${LIBKERN}
- objcopy -O binary ${PROG}.out ${PROG}
+ ${LD} -N -Ttext 100000 -o ${PROG}.out ${OBJS} ${LIBSA} ${LIBKERN}
+ ${OBJCOPY} -O binary ${PROG}.out ${PROG}
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index