Subject: port-mvme68k/16256: /usr/mdec/sboot{,.srec} have odd contents
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 04/09/2002 13:46:24
>Number: 16256
>Category: port-mvme68k
>Synopsis: /usr/mdec/sboot{,.srec} have odd contents
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-mvme68k-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 09 05:47:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Ben Harris
>Release: 2002-04-07
>Organization:
>Environment:
Cross-compiling from Debian GNU/Linux 2.2
>Description:
Having done a "make install" in sys/arch/mvme68k/stand/sboot, I find that
${DESTDIR}/usr/mdec/sboot contains S-records, and
${DESTDIR}/usr/mdec/sboot.srec is a binary file. This seems odd. The
output from "make" seems to agree, though:
ixion:/u1/ben/netbsd/src/sys/arch/mvme68k/stand/sboot$ /u1/ben/netbsd/tools/bin/nbmake-mvme68k install
making sure the libsa is up to date...
/u1/ben/netbsd/tools/bin/m68k--netbsdelf-ld -N -Ttext 0x4000 -o sboot start.o clock.o console.o etherfun.o le_poll.o oc_cksum.o sboot.o vers.o /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/libsa/libsa.a
/u1/ben/netbsd/tools/bin/m68k--netbsdelf-objcopy -O binary /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/sboot
/u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/srec 4 0x4000 /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/sboot > sboot.srec < /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/sboot
STRIP=/u1/ben/netbsd/tools/bin/m68k--netbsdelf-strip /u1/ben/netbsd/tools/bin/nbinstall -U -M /u1/ben/netbsd/obj.mvme68k/METALOG -c -r -o root -g wheel -m 555 sboot /u1/ben/netbsd/dest.mvme68k/usr/mdec/sboot.srec
STRIP=/u1/ben/netbsd/tools/bin/m68k--netbsdelf-strip /u1/ben/netbsd/tools/bin/nbinstall -U -M /u1/ben/netbsd/obj.mvme68k/METALOG -c -r -o root -g wheel -m 555 /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/sboot.srec /u1/ben/netbsd/dest.mvme68k/usr/mdec/sboot
Note the last two lines, which swap sboot and sboot.srec around while
installing them. I can't work out where in the Makefile the former of
them comes from.
>How-To-Repeat:
"make install" in sys/arch/mvme68k/stand/sboot.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: