Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/stand Use ${_MKTARGET_LINK} and ${_MKTARGET_C...
details: https://anonhg.NetBSD.org/src/rev/7eeaf398b4f6
branches: trunk
changeset: 780337:7eeaf398b4f6
user: matt <matt%NetBSD.org@localhost>
date: Fri Jul 20 15:23:02 2012 +0000
description:
Use ${_MKTARGET_LINK} and ${_MKTARGET_CREATE}
diffstat:
sys/arch/alpha/stand/Makefile.bootxx | 3 ++-
sys/arch/alpha/stand/boot/Makefile | 5 +++--
sys/arch/alpha/stand/netboot/Makefile | 5 +++--
sys/arch/alpha/stand/standtest/Makefile | 3 ++-
sys/arch/alpha/stand/ustarboot/Makefile | 5 +++--
5 files changed, 13 insertions(+), 8 deletions(-)
diffs (111 lines):
diff -r 4e153bc162b8 -r 7eeaf398b4f6 sys/arch/alpha/stand/Makefile.bootxx
--- a/sys/arch/alpha/stand/Makefile.bootxx Fri Jul 20 14:59:33 2012 +0000
+++ b/sys/arch/alpha/stand/Makefile.bootxx Fri Jul 20 15:23:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootxx,v 1.9 2009/04/03 10:38:12 tsutsui Exp $
+# $NetBSD: Makefile.bootxx,v 1.10 2012/07/20 15:23:02 matt Exp $
SRCS = start.S bootxx.c booted_dev.c blkdev.c prom.c prom_disp.S \
putstr.c panic_putstr.c
@@ -37,6 +37,7 @@
# they are not included in the final object.
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBKERN}
+ ${_MKTARGET_LINK}
@${LD} -Ttext 0x20000000 -N --verbose 2>&1 \
| ${TOOL_SED} -n '/^==========/,/^===========/{/^========/d; \
s,^[[:blank:]]*\.eh_frame[[:blank:]]*:, /DISCARD/ : ,;p;}' \
diff -r 4e153bc162b8 -r 7eeaf398b4f6 sys/arch/alpha/stand/boot/Makefile
--- a/sys/arch/alpha/stand/boot/Makefile Fri Jul 20 14:59:33 2012 +0000
+++ b/sys/arch/alpha/stand/boot/Makefile Fri Jul 20 15:23:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2001/09/22 03:34:17 tv Exp $
+# $NetBSD: Makefile,v 1.32 2012/07/20 15:23:02 matt Exp $
PROG = boot
@@ -19,7 +19,7 @@
CLEANFILES+= ${PROG}.sym
${PROG}: ${PROG}.sym
- @echo creating ${PROG} from ${PROG}.sym...
+ @${_MKTARGET_CREATE}
@${OBJCOPY} --output-target=binary ${PROG}.sym ${PROG}
@chmod 644 ${PROG}
@ls -l ${PROG}
@@ -30,6 +30,7 @@
.include "../Makefile.bootprogs"
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
+ ${_MKTARGET_LINK}
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
${OBJS} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
${SIZE} ${PROG}.sym
diff -r 4e153bc162b8 -r 7eeaf398b4f6 sys/arch/alpha/stand/netboot/Makefile
--- a/sys/arch/alpha/stand/netboot/Makefile Fri Jul 20 14:59:33 2012 +0000
+++ b/sys/arch/alpha/stand/netboot/Makefile Fri Jul 20 15:23:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2003/01/03 15:34:42 lukem Exp $
+# $NetBSD: Makefile,v 1.26 2012/07/20 15:23:02 matt Exp $
PROG = netboot
@@ -15,7 +15,7 @@
-DBOOT_TYPE_NAME='"Network"'
${PROG}: ${PROG}.sym
- @echo creating ${PROG} from ${PROG}.sym...
+ ${_MKTARGET_CREATE}
@${OBJCOPY} --output-target=binary ${PROG}.sym ${PROG}
@chmod 644 ${PROG}
@ls -l ${PROG}
@@ -26,6 +26,7 @@
.include "../Makefile.bootprogs"
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
+ ${_MKTARGET_LINK}
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
${OBJS} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
${SIZE} ${PROG}.sym
diff -r 4e153bc162b8 -r 7eeaf398b4f6 sys/arch/alpha/stand/standtest/Makefile
--- a/sys/arch/alpha/stand/standtest/Makefile Fri Jul 20 14:59:33 2012 +0000
+++ b/sys/arch/alpha/stand/standtest/Makefile Fri Jul 20 15:23:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/07/21 21:25:19 jdolecek Exp $
+# $NetBSD: Makefile,v 1.3 2012/07/20 15:23:02 matt Exp $
PROG= test
BINDIR= /stand
@@ -20,5 +20,6 @@
.include "../Makefile.bootprogs"
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBKERN}
+ ${_MKTARGET_LINK}
${LD} -Ttext ${RELOC} -N -e start -o ${PROG}.sym \
${OBJS} ${LIBSA} ${LIBKERN}
diff -r 4e153bc162b8 -r 7eeaf398b4f6 sys/arch/alpha/stand/ustarboot/Makefile
--- a/sys/arch/alpha/stand/ustarboot/Makefile Fri Jul 20 14:59:33 2012 +0000
+++ b/sys/arch/alpha/stand/ustarboot/Makefile Fri Jul 20 15:23:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2010/08/25 16:30:44 christos Exp $
+# $NetBSD: Makefile,v 1.9 2012/07/20 15:23:02 matt Exp $
PROG = ustarboot
@@ -17,7 +17,7 @@
CLEANFILES+= ${PROG}.sym
${PROG}: ${PROG}.sym
- @echo creating ${PROG} from ${PROG}.sym...
+ ${_MKTARGET_CREATE}
@${OBJCOPY} --output-target=binary ${PROG}.sym ${PROG}
@chmod 644 ${PROG}
@ls -l ${PROG}
@@ -28,6 +28,7 @@
.include "../Makefile.bootprogs"
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
+ ${_MKTARGET_LINK}
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
${OBJS} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
${SIZE} ${PROG}.sym
Home |
Main Index |
Thread Index |
Old Index