Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf Use the Integrator ldscript and build ....



details:   https://anonhg.NetBSD.org/src/rev/2adf8cfc1730
branches:  trunk
changeset: 533731:2adf8cfc1730
user:      rearnsha <rearnsha%NetBSD.org@localhost>
date:      Mon Jul 08 16:15:44 2002 +0000

description:
Use the Integrator ldscript and build .bin and .srec versions of the
kernel.

diffstat:

 sys/arch/evbarm/conf/Makefile.evbarm.inc |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 55fa15a09fbe -r 2adf8cfc1730 sys/arch/evbarm/conf/Makefile.evbarm.inc
--- a/sys/arch/evbarm/conf/Makefile.evbarm.inc  Mon Jul 08 16:15:35 2002 +0000
+++ b/sys/arch/evbarm/conf/Makefile.evbarm.inc  Mon Jul 08 16:15:44 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.evbarm.inc,v 1.11 2002/03/27 21:51:28 thorpej Exp $
+#      $NetBSD: Makefile.evbarm.inc,v 1.12 2002/07/08 16:15:44 rearnsha Exp $
 
 SYSTEM_LD_TAIL_EXTRA=; \
        echo "${DBSYM} $@ || true"; \
@@ -8,6 +8,17 @@
 GENASSYM_EXTRAS+=      ${THISARM}/ifpga/genassym.cf
 SYSTEM_FIRST_OBJ=      intmmu.o
 SYSTEM_FIRST_SFILE=    ${THISARM}/integrator/intmmu.S
+
+LINKFLAGS=     -T ${THISARM}/conf/ldscript.integrator
+
+SYSTEM_LD_TAIL_EXTRA+=; \
+       echo ${OBJCOPY} -S -O srec $@ $@.srec; \
+       ${OBJCOPY} -S -O srec $@ $@.srec; \
+       echo ${OBJCOPY} -S -O binary $@ $@.bin; \
+       ${OBJCOPY} -S -O binary $@ $@.bin
+
+EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.srec@}
+EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
 .endif
 
 .if (${BOARDTYPE} == "iq80310")



Home | Main Index | Thread Index | Old Index