Home | History | Annotate | Download | only in boot
History log of /src/sys/arch/sparc/stand/boot/Makefile
RevisionDateAuthorComments
 1.46  03-Jun-2023  lukem adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
which works for both clang and gcc, and remove compiler-specific
equivalents.
 1.45  03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.44  06-Sep-2020  mrg add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.43  03-Jun-2020  rin Appease clang -Waddress-of-packed-member for <ufs/lfs/lfs_accessors.h>,
in the same manner as done for sparc64; pointer substitution is just for
sanity check and harmless there.
 1.42  28-Apr-2017  christos Also move bootjs.net after we've evaluated $OBJS (thanks gson@)
 1.41  09-Apr-2017  christos branches: 1.41.4;
move .for generated rules after OBJS have been set.
 1.40  08-Apr-2017  christos centralize vers.c building for standalone programs.
 1.39  10-Mar-2016  martin branches: 1.39.2; 1.39.4;
Strip debug symbols from boot code
 1.38  28-Aug-2011  mrg branches: 1.38.12; 1.38.30;
emit some linker -Map files so that we can figure out what symbols
in the boot loaders are.
 1.37  22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.36  13-Dec-2009  nakayama branches: 1.36.4; 1.36.6; 1.36.8;
System utilities, boot programs and kernel modules are machine
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
 1.35  14-Feb-2009  abs Convert more MACHINE tests to MACHINE_ARCH
 1.34  11-Dec-2005  christos branches: 1.34.78; 1.34.86; 1.34.92;
merge ktrace-lwp.
 1.33  10-Jul-2005  martin Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
root-path). From Christos.
 1.32  15-Dec-2003  martin branches: 1.32.14; 1.32.16;
Rename the JavaStation network boot loader: bootjs.elf -> bootjs.net.
 1.31  12-Dec-2003  martin Add support to build bootjs.elf - the secondary bootstrap used to netboot
JavaStations. Based on patches from Valeriy E. Ushakov.
 1.30  26-Oct-2003  lukem Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
 1.29  30-Jul-2003  mrg sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)
 1.28  01-Mar-2003  pk branches: 1.28.2;
Add support for large kernels by searching for a physical memory segment
to fit it in. As a bonus, the kernel is now also mapped to the virtual
address (i.e. KERNBASE) it is linked at.
 1.27  04-Dec-2001  thorpej Don't declare which exec formats to support in loadfile_machdep.h.
Instead, give each user of loadfile() control over which exec formats
it wants to support.
 1.26  22-Sep-2001  tv branches: 1.26.4;
objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
 1.25  22-Sep-2001  mrg use the 32-bit compiler on sparc64 (but not yet enabled.)
 1.24  21-Jun-2001  uwe branches: 1.24.2; 1.24.4;
Add PROM patches (forth code) as a table indexed with root node name
and prom version. Little tweaks to prom during secondary boot are
much easier then fragile work-arounds in the kernel. Currently this
is used for JavaStation 1 with OBP3.
 1.23  31-Oct-2000  pk Dispose of `boot.net.big'.
 1.22  21-Jul-2000  jdolecek switch to sys/conf/newvers_stand.sh for generation of version file
sync the message in boot/version with other ports using newvers_stand.sh
 1.21  03-Jul-2000  sommerfeld Build a boot_big.net (based at 700000) in addition to boot.net,
allowing you to netboot a kernel with a ramdisk inside on systems
where memory is laid out to allow this.
 1.20  13-Mar-2000  mycroft branches: 1.20.4;
Make dependall work.
 1.19  26-Feb-2000  pk Revert to using <bsd.prog.mk> again, so we support all targets that may
be presented when building the system (noticed by Juergen Hannken-Illjes).
 1.18  25-Feb-2000  pk We need <bsd.obj.mk>.
 1.17  21-Feb-2000  pk Build several versions of the second-stage boot program, each linked
to run at a different base address. Boot image build procedures can
pick one which is least likely to fail..

The default boot program is again build to run at 0x340000.
 1.16  09-Nov-1999  mycroft branches: 1.16.2;
Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
already too large, and GENERIC won't be far behind.
 1.15  21-Aug-1999  sommerfeld branches: 1.15.2; 1.15.4; 1.15.6;
Use ${SIZE}, ${OBJCOPY} rather than size and objcopy.
 1.14  03-May-1999  pk Better pad the artificial header to exactly 32 bytes.
 1.13  30-Apr-1999  christos Add bootinfo struct to pass symtab arguments.
XXX: This does not work with ELF yet, but I don't understand why...
 1.12  28-Apr-1999  christos Checkpoint of elf boot stuff:
- Use loadfile for both boot and installboot
- Fix problems with linking in bootxx
- Make installboot work with both a.out and ELF bootxx
- *WILL NOT BOOT YET ELF KERNELS* (a.out kernels work) I am working on it.
 1.11  05-Mar-1999  pk branches: 1.11.2; 1.11.4;
Use `-Ttext' switch & collect ld options in LINKFLAGS.
 1.10  15-Feb-1999  pk Use PROMLIB to streamline this code. This also provides the bulk of
Open Firmware boot code.
 1.9  18-Dec-1997  pk Clean vers.c & vers.o.
 1.8  15-Nov-1997  pk Use DESTDIR consistently when constructing `boot.net'.
 1.7  12-Nov-1997  pk Change load address to avoid cache-aliasing on machines with Harvard-style
cache implementations (notably the Hypersparcs).
 1.6  31-Oct-1997  pk Install a version of the secondary boot block in /usr/mdec that is
suitable for use on a server for diskless booting. Done mostly to
simplify the installation notes and avoid questions ...
 1.5  01-Jun-1997  mrg branches: 1.5.8;
Completely rearrange SPARC boot code, modeling it after alpha and hp300
ports' boot programs. Also added support for loading gzip'd kernels,
useful for booting from floppy. From Jason R. Thorpe <thorpej@nas.nasa.gov>,
tested by Matthew Green <mrg@eterna.com.au> and Erik Fair <fair@clock.org>.
 1.4  29-Nov-1996  pk remove header munging hack.
 1.3  05-Oct-1996  mrg update for kern/sa lib Makefile.inc changes.
 1.2  30-Sep-1995  pk Make this work with OBJ dirs.
 1.1  16-Sep-1995  pk Network booting; "oldmon" support; combine all functionality in single images.
Many thanks to Gordon Ross and Chuck Cranor for figuring out and testing
the old monitor (sun4) stuff.
 1.5.8.3  15-Nov-1997  mellon Pull rev 1.8 up from trunk (pk)
 1.5.8.2  14-Nov-1997  mellon Pull rev 1.7 up from trunk (pk)
 1.5.8.1  04-Nov-1997  mellon Pull rev 1.6 up from trunk (pk)
 1.11.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.11.2.3  28-Feb-2000  he Apply patch (requested by toddpw):
Add an include target so that ``make build'' works.
 1.11.2.2  28-Feb-2000  he Pull up revision 1.18 (requested by pk):
Make sure ``make obj'' works.
 1.11.2.1  22-Feb-2000  he Apply patch (requested by pk):
Make several sparc boot programs to run at different relocated
addresses. The boot build procedures can then pick the one which
is least likely to fail.
 1.15.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.15.4.1  15-Nov-1999  fvdl Sync with -current
 1.15.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.15.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.16.2.2  09-Nov-1999  mycroft Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
already too large, and GENERIC won't be far behind.
 1.16.2.1  09-Nov-1999  mycroft file Makefile was added on branch comdex-fall-1999 on 1999-11-09 18:39:42 +0000
 1.20.4.1  26-Aug-2000  mrg "pull up" (via patch) fixes for sparc64 vs sparc boot blocks. (this is
resolved on the trunk with newvers_stand.sh). approved by thorpej.
 1.24.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.24.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.26.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.26.4.1  22-Sep-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:27:54 +0000
 1.28.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.28.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.28.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.28.2.1  03-Aug-2004  skrll Sync with HEAD
 1.32.16.1  21-Jun-2006  yamt sync with head.
 1.32.14.1  10-Jul-2005  tron Pull up revision 1.33 (requested by christos in ticket #567):
Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
root-path). From Christos.
 1.34.92.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.34.86.1  03-Mar-2009  skrll Sync with HEAD.
 1.34.78.2  11-Mar-2010  yamt sync with head
 1.34.78.1  04-May-2009  yamt sync with head.
 1.36.8.1  08-Feb-2011  bouyer Sync with HEAD
 1.36.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.36.4.1  05-Mar-2011  rmind sync with head
 1.38.30.2  28-Aug-2017  skrll Sync with HEAD
 1.38.30.1  19-Mar-2016  skrll Sync with HEAD
 1.38.12.1  03-Dec-2017  jdolecek update from HEAD
 1.39.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.39.2.1  26-Apr-2017  pgoyette Sync with HEAD
 1.41.4.1  02-May-2017  pgoyette Sync with HEAD - tag prg-localcount2-base1

RSS XML Feed