Home | History | Annotate | Download | only in libsa
History log of /src/sys/arch/mvme68k/stand/libsa/Makefile
RevisionDateAuthorComments
 1.34  21-Sep-2013  tsutsui Explicitly link SRT0.o (Standalone RunTime startup code) first.

This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.

The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.

Should be pulled up to netbsd-6 branches.
 1.33  02-Jan-2011  tsutsui branches: 1.33.8; 1.33.14; 1.33.18; 1.33.20; 1.33.22; 1.33.28;
Switch mvme68k standalone problams to using MI libsa and libkern
for maintainablility. Also bump version for note.

Compile test only, but no functional changes.
 1.32  15-Mar-2010  he branches: 1.32.2;
Latest change to loadfile_elf32.c grew a dependency on strncmp,
so provide that as well as part of libsa for this platform.
 1.31  06-Dec-2009  tsutsui branches: 1.31.2;
Put asm objects into OBJS, not dependencies for all target.
 1.30  19-Mar-2009  tsutsui Remove bcmp() from MD libsa.

XXX: These ports should be rewritten to use MI libsa for maintainability.
 1.29  26-Feb-2006  he branches: 1.29.72; 1.29.80; 1.29.86;
Follow up rename of in_cksum.c to ip_cksum.c.
 1.28  27-Dec-2005  he branches: 1.28.2; 1.28.4; 1.28.6;
Make this build again after the libc/libkern consolidation by referring
to common/lib/libc/Makefile.inc via ${S}/..

Add use of ashrdi3.c inet_addr.c strncpy.c strlen.c, from common/lib.
 1.27  24-Dec-2005  tsutsui Adapt to libkern reorganization.
 1.26  11-Dec-2005  christos merge ktrace-lwp.
 1.25  22-Aug-2003  dsl branches: 1.25.16;
Add memmove - needed for symlink processing in ufs.c
 1.24  16-Mar-2003  he branches: 1.24.2;
Add the newly separated-out ether_sprintf.c here, so that the booters
can be allowed to link with no unresolved symbols again.
 1.23  27-Feb-2003  scw Move the -D__daddr_t from libsa/Makefile to Makefile.booters so
the bootloaders get to benefit from it, not just libsa.
 1.22  04-Feb-2003  matt Add CPPFLAGS+=-D__daddr_t=int32_t
Add snprintf.c to libsa/Makefile
 1.21  27-Mar-2002  scw Add files.c to SRC_sa.
While I'm here, sort source files alphabetically.
 1.20  14-Nov-2001  tv Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
 1.19  31-Oct-2001  thorpej branches: 1.19.2;
Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
objects.
 1.18  02-Oct-2001  chs branches: 1.18.2;
add ashldi3.c, needed by ufs.c due to added cast in lblktosize().
 1.17  07-Jul-2001  scw branches: 1.17.2; 1.17.4;
bcopy -> memcpy
bzero -> memset
bcmp -> memcmp (note that the MI libsa's memcmp() still calls bcmp()...)
 1.16  10-Jun-2001  scw Use the versions of dev_net.[ch] in libsa in order to get DHCP support.

In other words, mvme68k's "netboot" finally supports DHCP.
 1.15  30-Nov-2000  scw branches: 1.15.2;
Support booting an ELF kernel, plus numerous tweaks due to
the gas.new/ELF transition.
 1.14  11-Nov-2000  scw udp.c is now needed in SRC_sa.
 1.13  28-Jul-2000  scw Really make this work for `dependall'. Also strip bootst.bug before
running it through wrtvid.
 1.12  27-Jul-2000  scw Make these work for the `dependall' target.
 1.11  24-Jul-2000  jdolecek cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)

Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
 1.10  19-Sep-1999  scw branches: 1.10.2; 1.10.14;
intoa.c is now required in the standalone library.
 1.9  25-Apr-1999  scw Define MKNOLINT=no and _STANDALONE.
 1.8  20-Feb-1999  scw branches: 1.8.2;
Add some missing targets from sys/lib/libsa.
 1.7  13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.6  01-Aug-1998  scw Changes to keep lint happy.
In particular, fix some Makefiles so the include
paths are passed to lint.
 1.5  31-May-1997  cjs Back out BUILDDIR and NOINSTALL changes.
 1.4  30-May-1997  cjs Remove empty libinstall target and add NOINSTALL=1.
 1.3  07-May-1997  mycroft Use libinstall::, not install:, to prevent instaling LIB.
 1.2  17-May-1996  chuck update for my reorg
 1.1  25-Jul-1995  chuck branches: 1.1.1;
Initial revision
 1.1.1.1  25-Jul-1995  chuck mvme68k port -- for the motorola vme147 m68030 card
 1.8.2.1  26-Apr-1999  perry branches: 1.8.2.1.2;
pullup 1.8->1.9 (Steve Woodford)
 1.8.2.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.10.14.1  09-Feb-2002  he Pull up revision 1.18 (via patch, requested by scw):
Add ashldi3.c to libsa, needed by ufs.c due to changes in fs.h.
 1.10.2.3  08-Dec-2000  bouyer Sync with HEAD.
 1.10.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.10.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.15.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.17.4.1  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.17.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.17.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.18.2.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.19.2.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.19.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.19.2.1  31-Oct-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:26:38 +0000
 1.24.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.24.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.24.2.1  03-Aug-2004  skrll Sync with HEAD
 1.25.16.1  21-Jun-2006  yamt sync with head.
 1.28.6.1  22-Apr-2006  simonb Sync with head.
 1.28.4.1  09-Sep-2006  rpaulo sync with head
 1.28.2.1  01-Mar-2006  yamt sync with head.
 1.29.86.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.29.80.1  28-Apr-2009  skrll Sync with HEAD.
 1.29.72.3  11-Aug-2010  yamt sync with head.
 1.29.72.2  11-Mar-2010  yamt sync with head
 1.29.72.1  04-May-2009  yamt sync with head.
 1.31.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.32.2.1  05-Mar-2011  rmind sync with head
 1.33.28.1  23-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.33.22.1  18-May-2014  rmind sync with head
 1.33.20.1  26-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.33.18.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.33.14.1  23-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.33.8.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed