Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/powerpc/conf/Makefile.powerpc
RevisionDateAuthorComments
 1.62  20-Mar-2024  christos Fix reproducible builds (Jan-Benedict Glaw)
 1.61  22-Sep-2018  rin - Determine KERN_AS automatically depending on whether OPT_MODULAR is
set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
 1.60  27-Feb-2016  joerg branches: 1.60.16; 1.60.18;
clang now supports normal soft float.
 1.59  24-Aug-2015  uebayasi Define ${LINKSCRIPT} in one place.
 1.58  15-Nov-2014  uebayasi branches: 1.58.2;
Use LINKSCRIPT.
 1.57  10-Aug-2014  joerg Put GCC/GAS specific options under ACTIVE_CC == "gcc".
 1.56  08-Aug-2014  joerg Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
 1.55  05-Aug-2014  apb Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
 1.54  06-Mar-2014  matt branches: 1.54.2;
When building a DEBUG kernel, mdsetimage into the .gdb as well (so if it's
used with gxemul, it has the md image in it.)
 1.53  28-Feb-2014  matt Don't hardcode MACHINE_ARCH
 1.52  23-Aug-2013  matt Add a SYSTEM_DEP for the ramdisk on INSTALL kernels.
 1.51  10-Mar-2013  christos branches: 1.51.6;
Explicitly set KERN_AS (this could be done in /usr/src/sys/conf/Makefile.*)
so that modules work, on config files that did not set it explicitly. All
the files now use the standard logic, except the ones that set KERN_AS=obj
and Makefile.usermode which sets KERN_AS=library.
 1.50  21-Mar-2012  matt branches: 1.50.2;
For BookE kernels, use -mmultiple and -misel and enable -fstack-protector
 1.49  01-Feb-2012  matt branches: 1.49.2;
Make sure the walnut system_tail_extra is very last thing.
 1.48  30-Jun-2011  matt branches: 1.48.2; 1.48.6;
Get rid of local TOOL_GZIP definition that now bsd.own.mk does it for us.
 1.47  25-Jun-2011  matt Move some stuff from evbppc's Makefile.inc to powerpc's.
This avoids redundant objcopy's
 1.46  18-Jun-2011  matt Make a common genassym.cf (powerpc/genassym.cf) and then
only put specific stuff in foo/genassym.cf
 1.45  04-Jun-2011  matt Make sure the kernel is compiled with -msdata=none since it uses %r2 and %r13
for other uses.
 1.44  18-Jan-2011  matt branches: 1.44.4;
Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
 1.43  15-Feb-2009  cube branches: 1.43.4; 1.43.6;
Convert the recently introduced awk command to retrieve the value of the
option MODULAR to using %MODULAR%. While it is now possible to only
request the new version in the affected Makefiles, it is made mandatory for
everybody because I just fixed a bug in config(1) that would not make it
fail in the case of a syntax error in the Makefile template.
 1.42  14-Feb-2009  apb Now that "options MODULAR" is handled via defflag, the Makefile
generated by config(1) in the kernel compile directory no longer
contains IDENT=-DMODULAR. Instead, there's an opt_modular.h file that
might or might not contain "#define MODULAR 1".

Adapt to this by adding an OPT_MODULAR variable to relevant Makefiles,
set via an awk script that parses opt_modular.h.
 1.41  13-Nov-2008  ad branches: 1.41.4;
LKM -> MODULAR
 1.40  07-Mar-2008  phx branches: 1.40.4; 1.40.10; 1.40.12; 1.40.22;
mem*.S no longer include assym.h
 1.39  03-Mar-2008  matt Make kernlib depend on assym.h
 1.38  01-Mar-2008  joerg mem*.S needs assym.h.
 1.37  08-Jan-2008  joerg branches: 1.37.2; 1.37.6;
lock_stubs.S needs assym.h.
 1.36  24-Nov-2005  dbj branches: 1.36.50; 1.36.56; 1.36.64;
. Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
. Make this error a fatal build time error
. Move the support for dbsym into the MI Makefile.kern.inc,
conditional upon the SYMTAB_SPACE option being defined in
the kernel config file.
 1.35  02-Jun-2005  he branches: 1.35.2; 1.35.8;
Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead
make use of the new __UNVOLATILE() macro in memset() usage.
 1.34  02-Jun-2005  he Put a band-aid over the cast qualification warnings for oea/pmap.c.
It cannot be compiled with -Wno-cast-qual due to a volatile pointer
being passed to memset(), and there's no easy way other than open-
coding memset() to fix this. So instead we cheat for now and add
-Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
 1.33  31-May-2005  christos s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
 1.32  12-Feb-2005  matt When building kernel for OEA, allow unaligned accesses since OEA
processors will deal with them properly.
 1.31  09-Dec-2004  matt branches: 1.31.2; 1.31.4;
Add -Wa,-maltivec so that AltiVec instuctions will be recognized.
 1.30  04-Jun-2004  thorpej Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
 1.29  06-Jan-2004  briggs branches: 1.29.4;
Change CPPFLAGS to -D${MACHINE}=${MACHINE} instead of just -D${MACHINE}
This makes it possible to define header files on the command line that
might include ${MACHINE} somewhere in the path. This might be used in
evbppc, for example, when defining PPC_PCI_MACHDEP_IMPL as, for example:

PPC_PCI_MACHDEP_IMPL="<arch/evbppc/sandpoint/pci_machdep.h>"

which will be included as

#include PPC_PCI_MACHDEP_IMPL

Prior to this change, the compile would fail trying to include
<arch/evbppc/1/pci_machdep.h>
 1.28  29-Sep-2003  simonb Add a dependancy on assym.h; helps "make -j N" kernel builds.
 1.27  24-Feb-2003  matt branches: 1.27.2;
Only define KERN_AS= object if IDENT has -DLKM.
 1.26  19-Feb-2003  matt Set KERN_AS=obj now that LKMs work. (otherwise when you loaded LKMs they
wouldn't have all the library routines available).
 1.25  01-Jan-2003  augustss Add NEED_SYMTAB to run dbsym.
 1.24  23-Aug-2002  scw Allow port-specific Makefiles to override the name and location
of locore.[So].
This is in preparation for arch/evbppc.
 1.23  19-May-2002  augustss Add NEED_BINARY, similar to NEED_SREC.
 1.22  18-Apr-2002  matt branches: 1.22.2;
Use a common genassym.cf for all the PPC_MPC6XX ports. Add a makeoptions to
std.foo to indicate the directory to get genassym.cf from. Add an intrframe
to <powerpc/frame.h> and make trap_subr.S use symbolic offsets into it.
 1.21  05-Jan-2002  dbj change apparent typo of MS_SFILES to MD_SFILES
This fixes some dependency problems with locore.S
 1.20  09-Dec-2001  atatat Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
 1.19  26-Oct-2001  jmc branches: 1.19.2;
Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
 1.18  23-Oct-2001  thorpej branches: 1.18.2;
Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
 1.17  23-Oct-2001  thorpej Use MACHINE, not TARGET_MACHINE.
 1.16  21-Oct-2001  thorpej Use <bsd.own.mk> so that the right thing happens when building a
kernel w/ USE_NEW_TOOLCHAIN.
 1.15  26-Aug-2001  simonb Include ${THISPPC}/conf/Makefile.${TARGET_MACHINE}.inc if it exists (ala
mips' Makefile.mips).
 1.14  26-Aug-2001  matt Make all powerpc ports use a common Makefile.powerpc (except walnut)
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
 1.13  28-May-1998  sakamoto branches: 1.13.4;
Rename NetBSD/powerpc to NetBSD/ofppc.
New sys/arch/powerpc with PowerPC-generic stuff.
 1.12  12-Apr-1998  tv Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
 1.11  12-Nov-1997  thorpej Make sure CPP, AR, AS, and RANLIB are defined.
 1.10  12-Nov-1997  thorpej Define LORDER, NM, and TSORT here, like we do the rest of the tools.
 1.9  30-Sep-1997  christos branches: 1.9.2;
PR/4162: Chris Jones: make cleandir does not work properly; it does not
remove the object files and the .depend file in the kernel build directory.
 1.8  12-Jul-1997  leo branches: 1.8.2;
Generate assym.h dependencies when making 'depend'.
 1.7  19-Apr-1997  thorpej Fix a pasto
 1.6  16-Apr-1997  thorpej - Use genassym.sh to facilitate cross-compiling.
- Various clean/catch-up.
 1.5  14-Mar-1997  mycroft Define the `cleankernel' target consistently with other ports.
 1.4  04-Feb-1997  perry Nuke some options GENERIC residue.
 1.3  04-Feb-1997  perry Nuke some GENERIC residue.
 1.2  01-Dec-1996  jonathan * Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
Lets users over-ride with makeoptions COPTS="..." in kernel config files.

Leave `mandatory' flags (like -msoft-float which on m68k enforces no
FP in kernel) in CFLAGS.
 1.1  30-Sep-1996  ws PowerPC port
 1.8.2.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.9.2.1  12-Nov-1997  thorpej Pull up "make sure tools are defined" changes from trunk.
 1.13.4.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.13.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.13.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.13.4.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.18.2.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.19.2.7  03-Jan-2003  thorpej Sync with HEAD.
 1.19.2.6  27-Aug-2002  nathanw Catch up to -current.
 1.19.2.5  20-Jun-2002  nathanw Catch up to -current.
 1.19.2.4  28-Feb-2002  nathanw Catch up to -current.
 1.19.2.3  11-Jan-2002  nathanw More catchup.
 1.19.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.19.2.1  26-Oct-2001  nathanw file Makefile.powerpc was added on branch nathanw_sa on 2002-01-08 00:27:08 +0000
 1.22.2.2  31-Aug-2002  gehenna catch up with -current.
 1.22.2.1  30-May-2002  gehenna Catch up with -current.
 1.27.2.7  11-Dec-2005  christos Sync with head.
 1.27.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.27.2.5  15-Feb-2005  skrll Sync with HEAD.
 1.27.2.4  18-Dec-2004  skrll Sync with HEAD.
 1.27.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.27.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.27.2.1  03-Aug-2004  skrll Sync with HEAD
 1.29.4.1  06-Feb-2005  jmc Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
 1.31.4.1  12-Feb-2005  yamt sync with head.
 1.31.2.1  29-Apr-2005  kent sync with -current
 1.35.8.1  29-Nov-2005  yamt sync with head.
 1.35.2.3  17-Mar-2008  yamt sync with head.
 1.35.2.2  21-Jan-2008  yamt sync with head
 1.35.2.1  21-Jun-2006  yamt sync with head.
 1.36.64.1  08-Jan-2008  bouyer Sync with HEAD
 1.36.56.1  18-Feb-2008  mjf Sync with HEAD.
 1.36.50.2  23-Mar-2008  matt sync with HEAD
 1.36.50.1  09-Jan-2008  matt sync with HEAD
 1.37.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.37.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.37.2.1  24-Mar-2008  keiichi sync with head.
 1.40.22.2  26-Jul-2011  matt Merge MKUBOOTIMAGE support from -HEAD
 1.40.22.1  07-Jan-2011  matt Add booke support.
 1.40.12.2  03-Mar-2009  skrll Sync with HEAD.
 1.40.12.1  19-Jan-2009  skrll Sync with HEAD.
 1.40.10.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.40.4.1  04-May-2009  yamt sync with head.
 1.41.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.43.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.43.4.2  12-Jun-2011  rmind sync with head
 1.43.4.1  05-Mar-2011  rmind sync with head
 1.44.4.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.48.6.2  05-Apr-2012  mrg sync to latest -current.
 1.48.6.1  18-Feb-2012  mrg merge to -current.
 1.48.2.2  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")
 1.48.2.1  17-Apr-2012  yamt sync with head
 1.49.2.1  17-May-2012  riz Pull up following revision(s) (requested by matt in ticket #250):
sys/arch/powerpc/conf/Makefile.powerpc: revision 1.50
For BookE kernels, use -mmultiple and -misel and enable -fstack-protector
 1.50.2.3  03-Dec-2017  jdolecek update from HEAD
 1.50.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.50.2.1  23-Jun-2013  tls resync from head
 1.51.6.2  18-May-2014  rmind sync with head
 1.51.6.1  28-Aug-2013  rmind sync with head
 1.54.2.1  10-Aug-2014  tls Rebase.
 1.58.2.2  19-Mar-2016  skrll Sync with HEAD
 1.58.2.1  22-Sep-2015  skrll Sync with HEAD
 1.60.18.1  10-Jun-2019  christos Sync with HEAD
 1.60.16.1  30-Sep-2018  pgoyette Ssync with HEAD

RSS XML Feed