| History log of /src/sys/arch/atari/stand/bootxx/Makefile.bootxx |
| Revision | | Date | Author | Comments |
| 1.11 |
| 12-Jan-2014 |
tsutsui | Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.
XXX: probabry we should have bsd.saprog.mk or something.
|
| 1.10 |
| 06-Jul-2010 |
mrg | branches: 1.10.8; 1.10.18; 1.10.22; remove almost all the ability to build netbsd with an a.out target. we're ELF now, and there are many missing checks against OBJECT_FMT. if we ever consider switching, the we can figure out what new ones we need but for now it's just clutter.
this doesn't remove any of the support for exec_aout or any actually required-for-boot a.out support, only the ability to build a netbsd release in a.out format. ie, most of this code has been dead for over a decade.
i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari, amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers the 5 MACHINE_ARCH's affected, and all the other arch code touched. it also includes some actual run-time testing of sparc, i386 and shark, and i performed binary comparison upon amiga and x68k as well.
some minor details relevant: - move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them down to only the parts ldconfig needs - remove various unused source files - switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
|
| 1.9 |
| 31-Mar-2009 |
tsutsui | branches: 1.9.2; 1.9.4; Switch atari standalone bootloaders to using MI libsa and libkern.
Tested by David Ross on port-atari@. Thanks!
|
| 1.8 |
| 06-Jan-2009 |
tsutsui | branches: 1.8.2; Fix PR port-atari/40315: Bootloader fails on Atari TT030 Add asm sources which provide a fixed entry point for raw bootxx and bootxxx because modern aggressive gcc4 may reorder functions in the same source and the first function in a C source won't always appear at the beginning in its object.
Also overhaul various files in the stand directory: - rename stand/Makefile.inc to stand/Makefile.booters and explicitly include it from each Makefile because the stand directory contains non standalone programs like installboot and Makefile.inc will be included implicitly from all Makefiles in SUBDIRs - put more common options into Makefile.booters so that all boot programs use proper options (-Os etc.) - make standalone boot programs compile without installed ${DESTDIR}: - create machine and m68k symlinks in ${.OBJDIR} in all boot programs - set appropriate make environments to suppress errors and warnings - <string.h> isn't there in _STANDALONE case - put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE) to some files in stand/tostools - use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS} - create raw binaries on ${PROG} target rather than on beforeinstall and stop weird renaming on beforeinstall and afterinstall - print proper error message if bootxx size is larger than limit - create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall in all boot programs (XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?) - prototype warnsfy - cleanup Makefiles for readablity and remove unnecessary rules - no need to use daddr_t in installboot because the AHDI label doesn't support 64 bit block numbers
Tested by David Ross (PR submitter) on port-atari, and finally NetBSD/atari on TT030 is now fully functional.
Should be pulled up to netbsd-4 (where gcc4 was initially imported) and netbsd-5.
|
| 1.7 |
| 19-Oct-2008 |
apb | branches: 1.7.2; 1.7.4; Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands. Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
|
| 1.6 |
| 21-Nov-2006 |
dsl | branches: 1.6.2; 1.6.52; 1.6.56; 1.6.62; Make the install actually die when the boot code is too big (which it is). No idea how long it has been bust for. Other parts of this makefile are deeply sub-optimal.
|
| 1.5 |
| 11-Dec-2005 |
christos | branches: 1.5.20; 1.5.22; merge ktrace-lwp.
|
| 1.4 |
| 12-Mar-2004 |
jmc | branches: 1.4.16; Toolize and use install to make mdec/std so it's in METALOG. Now a make release works once again for atari
|
| 1.3 |
| 28-Oct-2003 |
he | Add -ffreestanding to CFLAGS, so that libsa prototypes do not conflict with otherwise built-in functions and prototypes in the new gcc.
|
| 1.2 |
| 28-Jun-2003 |
he | branches: 1.2.2; Make sure to "mkdir -p" the destination directories under /usr/mdec.
|
| 1.1 |
| 23-May-2003 |
leo | usr/mdec reorg for Milan support. Note that installboot needs reworking too. Installing bootblocks on -current is no longer possible until this is done. nolonger
|
| 1.2.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.2.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.2.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.4.16.1 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.5.22.1 |
| 10-Dec-2006 |
yamt | sync with head.
|
| 1.5.20.1 |
| 12-Jan-2007 |
ad | Sync with head.
|
| 1.6.62.1 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.6.56.2 |
| 11-Aug-2010 |
yamt | sync with head.
|
| 1.6.56.1 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.6.52.1 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.6.2.1 |
| 15-Jan-2009 |
bouyer | Pull up following revision(s) (requested by tsutsui in ticket #1263): sys/arch/atari/stand/xxboot/Makefile.xxboot: revision 1.5 sys/arch/atari/stand/tostools/libtos/libtos.h: revision 1.5 sys/arch/atari/stand/installboot/disklabel.c: revision 1.3 sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.4 sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.5 sys/arch/atari/stand/libsa/Makefile: revision 1.28 sys/arch/atari/stand/bootxx/start.S: revision 1.1 distrib/utils/sysinst/arch/atari/md.c: revision 1.23 sys/arch/atari/stand/bootxx/Makefile.bootxx: revision 1.8 sys/arch/atari/stand/tostools/libtos/aout.c: revision 1.11 sys/arch/atari/stand/installboot/installboot.h: revision 1.9 sys/arch/atari/stand/bootxxx/bootxxx.c: revision 1.4 distrib/sets/lists/base/md.atari: revision 1.50 sys/arch/atari/stand/Makefile.booters: revision 1.1 sys/arch/atari/stand/bootxx/bootxx.c: revision 1.13 sys/arch/atari/stand/installboot/installboot.c: revision 1.22 sys/arch/atari/stand/tostools/libtos/elf.c: revision 1.9 sys/arch/atari/stand/tostools/libtos/sysinfo.c: revision 1.8 sys/arch/atari/stand/bootxxx/start.S: revision 1.1 Fix PR port-atari/40315: Bootloader fails on Atari TT030 Add asm sources which provide a fixed entry point for raw bootxx and bootxxx because modern aggressive gcc4 may reorder functions in the same source and the first function in a C source won't always appear at the beginning in its object. Also overhaul various files in the stand directory: - rename stand/Makefile.inc to stand/Makefile.booters and explicitly include it from each Makefile because the stand directory contains non standalone programs like installboot and Makefile.inc will be included implicitly from all Makefiles in SUBDIRs - put more common options into Makefile.booters so that all boot programs use proper options (-Os etc.) - make standalone boot programs compile without installed ${DESTDIR}: - create machine and m68k symlinks in ${.OBJDIR} in all boot programs - set appropriate make environments to suppress errors and warnings - <string.h> isn't there in _STANDALONE case - put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE) to some files in stand/tostools - use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS} - create raw binaries on ${PROG} target rather than on beforeinstall and stop weird renaming on beforeinstall and afterinstall - print proper error message if bootxx size is larger than limit - create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall in all boot programs (XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?) - prototype warnsfy - cleanup Makefiles for readablity and remove unnecessary rules - no need to use daddr_t in installboot because the AHDI label doesn't support 64 bit block numbers Tested by David Ross (PR submitter) on port-atari, and finally NetBSD/atari on TT030 is now fully functional. Should be pulled up to netbsd-4 (where gcc4 was initially imported) and netbsd-5. Don't install built boot.atari loaders into / of DESTDIR because there are two variants of boot.atari per machine types (std or milan) and they should be selected and copied from /usr/mdec/{std,milan} dirs to /targetroot during installation. Problem on default installation with sysinst was reported by David Ross. Remove /boot.atari, which is no longer installed during build and removed from base.tgz. Note we must not mark this obsolete because this tertiary bootloader will be copied into / during installation and it shouldn't be removed by postinstall(8). Before installboot(8), check running machine types (milan or others) via sysctl(3) and copy appropriate tertiary boot.atari loader from /usr/mdec/{std,milan} into targetroot. Full fresh installations of 5.0_BETA and 4.0_STABLE with the same change have been tested by David Ross on port-atari. Fixes the final portion of PR port-atari/40315, and pullup requests to both netbsd-4 and netbsd-5 will be sent shortly.
|
| 1.7.4.1 |
| 16-Jan-2009 |
bouyer | Pull up following revision(s) (requested by tsutsui in ticket #274): sys/arch/atari/stand/xxboot/Makefile.xxboot: revision 1.5 sys/arch/atari/stand/tostools/libtos/libtos.h: revision 1.5 sys/arch/atari/stand/installboot/disklabel.c: revision 1.3 sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.4, 1.5 sys/arch/atari/stand/libsa/Makefile: revision 1.28 sys/arch/atari/stand/bootxx/start.S: revision 1.1 distrib/utils/sysinst/arch/atari/md.c: revision 1.23 sys/arch/atari/stand/bootxx/Makefile.bootxx: revision 1.8 sys/arch/atari/stand/tostools/libtos/aout.c: revision 1.11 sys/arch/atari/stand/installboot/installboot.h: revision 1.9 sys/arch/atari/stand/bootxxx/bootxxx.c: revision 1.4 sys/arch/atari/stand/Makefile.inc: file removal distrib/sets/lists/base/md.atari: revision 1.50 sys/arch/atari/stand/Makefile.booters: revision 1.1 sys/arch/atari/stand/bootxx/bootxx.c: revision 1.13 sys/arch/atari/stand/installboot/installboot.c: revision 1.22 sys/arch/atari/stand/tostools/libtos/elf.c: revision 1.9 sys/arch/atari/stand/tostools/libtos/sysinfo.c: revision 1.8 sys/arch/atari/stand/bootxxx/start.S: revision 1.1 Fix PR port-atari/40315: Bootloader fails on Atari TT030 Add asm sources which provide a fixed entry point for raw bootxx and bootxxx because modern aggressive gcc4 may reorder functions in the same source and the first function in a C source won't always appear at the beginning in its object. Also overhaul various files in the stand directory: - rename stand/Makefile.inc to stand/Makefile.booters and explicitly include it from each Makefile because the stand directory contains non standalone programs like installboot and Makefile.inc will be included implicitly from all Makefiles in SUBDIRs - put more common options into Makefile.booters so that all boot programs use proper options (-Os etc.) - make standalone boot programs compile without installed ${DESTDIR}: - create machine and m68k symlinks in ${.OBJDIR} in all boot programs - set appropriate make environments to suppress errors and warnings - <string.h> isn't there in _STANDALONE case - put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE) to some files in stand/tostools - use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS} - create raw binaries on ${PROG} target rather than on beforeinstall and stop weird renaming on beforeinstall and afterinstall - print proper error message if bootxx size is larger than limit - create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall in all boot programs (XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?) - prototype warnsfy - cleanup Makefiles for readablity and remove unnecessary rules - no need to use daddr_t in installboot because the AHDI label doesn't support 64 bit block numbers Tested by David Ross (PR submitter) on port-atari, and finally NetBSD/atari on TT030 is now fully functional. Should be pulled up to netbsd-4 (where gcc4 was initially imported) and netbsd-5. Don't install built boot.atari loaders into / of DESTDIR because there are two variants of boot.atari per machine types (std or milan) and they should be selected and copied from /usr/mdec/{std,milan} dirs to /targetroot during installation. Problem on default installation with sysinst was reported by David Ross. Remove /boot.atari, which is no longer installed during build and removed from base.tgz. Note we must not mark this obsolete because this tertiary bootloader will be copied into / during installation and it shouldn't be removed by postinstall(8). Before installboot(8), check running machine types (milan or others) via sysctl(3) and copy appropriate tertiary boot.atari loader from /usr/mdec/{std,milan} into targetroot. Full fresh installations of 5.0_BETA and 4.0_STABLE with the same change have been tested by David Ross on port-atari. Fixes the final portion of PR port-atari/40315, and pullup requests to both netbsd-4 and netbsd-5 will be sent shortly.
|
| 1.7.2.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.7.2.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.8.2.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.9.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
| 1.9.2.1 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.10.22.1 |
| 18-May-2014 |
rmind | sync with head
|
| 1.10.18.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.10.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")
|