Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/mac68k/conf/Makefile.mac68k
RevisionDateAuthorComments
 1.93  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.92  25-Feb-2018  mrg branches: 1.92.2; 1.92.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.
 1.91  06-Sep-2015  uebayasi Declare dependency on fpsp.o via newly introduced ${MD_LIBS} instead of
${MD_OBJS}.

${MD_OBJS} should be used only for objects that must be linked first (i.e.,
start code). Objects have to be compiled following common compile rules,
and have to be generated into common places (i.e., top of kernel build
directory).

${MD_LIBS} defines libraries that are built by separate makefiles, under
separate directories. `Makefile.kern.inc' doesn't know intermediate library
objects.
 1.90  21-Jan-2011  joerg branches: 1.90.14; 1.90.32;
Switch remaining platforms to modern CPP for assembler.
 1.89  18-Feb-2008  joerg branches: 1.89.32; 1.89.38; 1.89.40;
Missing assym.h dependencies.
 1.88  11-Dec-2005  christos branches: 1.88.50; 1.88.56;
merge ktrace-lwp.
 1.87  31-May-2005  christos branches: 1.87.2;
s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
 1.86  04-Jun-2004  thorpej Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
 1.85  26-Nov-2002  thorpej branches: 1.85.6; 1.85.10;
The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.
 1.84  04-Jun-2002  thorpej Don't use -traditional-cpp if HAVE_GCC3.
 1.83  09-Dec-2001  atatat branches: 1.83.8;
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.82  20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.81  20-Nov-2001  lukem - pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for options KGDB_DEVNAME="\"com\""
- use correct quotes for options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
 1.80  26-Oct-2001  jmc branches: 1.80.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.79  23-Oct-2001  thorpej branches: 1.79.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.78  29-May-2001  mrg branches: 1.78.2;
define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
 1.77  17-Dec-2000  jdolecek branches: 1.77.2;
delete obsolete comment
 1.76  09-May-2000  hubertf Add "install" target, so "make install" after building the kernel
does something useful. The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
 1.75  09-May-2000  thorpej HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
 1.74  01-Feb-2000  tsutsui Revert STRIPPROG -> STRIP
 1.73  24-Jan-2000  tron Add "dependall" target for comfort.
 1.72  19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.71  19-Jan-2000  tsutsui Change STRIPFLAGS=-g for cross-toolchains.
 1.70  26-Jul-1999  cgd branches: 1.70.2;
be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
 1.69  09-Jul-1999  mrg clean up a bit after jason :)

- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
$INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
 1.68  15-Jan-1999  thorpej branches: 1.68.2; 1.68.6;
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
 1.67  15-Jan-1999  thorpej Don't define "mc68020". Nothing uses it.
 1.66  08-Jan-1999  augustss Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
 1.65  15-Oct-1998  drochner change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
 1.64  05-Sep-1998  lukem distclean is a synonym for cleandir
 1.63  31-May-1998  thorpej Specify a non-profiling C rule.
 1.62  24-Apr-1998  scottr Pull in a few more kgdb-related bits. Getting there...
 1.61  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.60  25-Nov-1997  scottr Fix dependency generation for assembler files; closes PR 4476,
but differently since the suggested change breaks cross compiling.
 1.59  12-Nov-1997  thorpej Make sure CPP, AR, AS, and RANLIB are defined.
 1.58  12-Nov-1997  thorpej Define LORDER, NM, and TSORT here, like we do the rest of the tools.
 1.57  30-Sep-1997  christos branches: 1.57.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.56  12-Sep-1997  mycroft Kill vestiges of Locore.c.
 1.55  24-Jul-1997  scottr branches: 1.55.2;
Remove HOSTED_* targets; define and use CPP and SIZE symbols, as inspired
by cgd's recent changes for the Alpha port.
 1.54  12-Jul-1997  leo Generate assym.h dependencies when making 'depend'.
 1.53  15-Apr-1997  scottr Use genassym.sh to facilitate cross-compiling.
 1.52  14-Mar-1997  mycroft Define the `cleankernel' target consistently with other ports.
 1.51  04-Feb-1997  perry Nuke some options GENERIC residue.
 1.50  04-Feb-1997  perry Nuke some GENERIC residue.
 1.49  01-Feb-1997  scottr Now that we can compile without warnings, enable -Werror
 1.48  25-Jan-1997  scottr `::\' => `:\' ; per recent sys/lib/*/Makefile.inc changes.
 1.47  13-Jan-1997  scottr branches: 1.47.2;
Compile kernels with -O2
 1.46  17-Dec-1996  scottr Remove -Werror for now (sigh). Somehow this slipped through several
kernel compiles without getting caught. Lame gcc optimizer bug.
 1.45  17-Dec-1996  scottr Add -Werror, remove -Wno-uninitialized.
 1.44  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.43  09-Sep-1996  mycroft Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
 1.42  31-Aug-1996  mycroft Wrap the default definition of `S' in `.ifndef'.
 1.41  12-Aug-1996  mycroft Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
 1.40  10-Aug-1996  mycroft * Add a HOSTED_C_C variable, which strips `-p', `-pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
 1.39  10-Aug-1996  mycroft * Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
 1.38  11-May-1996  mycroft Make `make depend' work for libraries.
 1.37  05-May-1996  briggs Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
 1.36  29-Feb-1996  cgd Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
 1.35  26-Feb-1996  mycroft Define build programs with `?=', so they can be overridden with `makeoptions'.
 1.34  09-Feb-1996  mycroft Fix mkdep problems due to missing flags.
 1.33  03-Feb-1996  briggs O2 breaks on this port. Use -O until we can fix it.
 1.32  03-Feb-1996  mycroft Use `-traditional-cpp' when building .s and .S files.
 1.31  02-Feb-1996  mycroft Clone these, and fix many bugs.
 1.30  02-Feb-1996  mycroft Don't special-case conf.c.
 1.29  02-Feb-1996  mycroft assym.s -> assym.h
(Some ports did this already.)
 1.28  01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.27  14-Jan-1996  thorpej Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.
 1.26  01-Nov-1995  briggs Remove -fno-builtin
 1.25  10-Oct-1995  briggs Remove extra reference to LIBKERN.
 1.24  19-Sep-1995  thorpej Compile the kernel with -Werror and -fno-builtin.
 1.23  04-Jul-1995  briggs Fixup a comment.
 1.22  25-Jun-1995  briggs Stupid typo in last.
 1.21  25-Jun-1995  briggs Stupid pasto in last.
 1.20  25-Jun-1995  briggs Add libcompat.
 1.19  25-Jun-1995  briggs Fix the clean target.
 1.18  24-Jun-1995  briggs The kernel is called netbsd, not vmunix.
 1.17  16-Jun-1995  briggs Rearrange slightly.
 1.16  31-May-1995  briggs Make genassym depend on its C source.
 1.15  29-Mar-1995  briggs Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.
 1.14  23-Mar-1995  jtc Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
 1.13  03-Dec-1994  briggs Mac ROM Glue changes from grantham@tenon.com.
 1.12  26-Oct-1994  cgd new RCS ID format.
 1.11  21-Jul-1994  briggs Take -nostdinc out of INCLUDES so we can get nlist.h and a.out.h for DDB.
 1.10  21-Jul-1994  briggs Put FPSP in SYSTEM_OBJS (missed this earlier, apparently, twice).
 1.9  08-Jul-1994  briggs Oops... Forgot to check in w/ FPSP support.
 1.8  25-Jun-1994  briggs branches: 1.8.2;
Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup. copy.s added to files.
 1.7  13-Mar-1994  lkestel Added -I$S/arch, per amiga port. (Used by db_disasm.c.)
 1.6  27-Feb-1994  briggs Make FPCOPROC an options option and remove it from the Makefile defines.
Also add a configuration that doesn't have it.
 1.5  12-Feb-1994  briggs The booter can finally deal with ld's executables.
 1.4  30-Jan-1994  briggs Use LD=ld.dist instead of LD=ld until we get around to fixing the
bleeding booter.
 1.3  10-Jan-1994  briggs Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.
 1.2  07-Dec-1993  briggs Add -Dmac68k as a COPTS so we can get cpu_disklabel.
 1.1  02-Dec-1993  briggs Migrate to new MACHINE definition (mac -> mac68k).
 1.8.2.1  24-Jul-1994  cgd update, as requested by briggs
 1.47.2.1  30-Jan-1997  thorpej update from trunk
 1.55.2.2  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.55.2.1  16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.57.2.2  26-Nov-1997  mellon Pull rev 1.60 up from trunk (scott)
 1.57.2.1  12-Nov-1997  thorpej Pull up "make sure tools are defined" changes from trunk.
 1.68.6.1  02-Aug-1999  thorpej Update from trunk.
 1.68.2.2  13-Feb-2000  scottr Sync with main branch.
 1.68.2.1  01-Nov-1999  scottr Sync with main branch.
 1.70.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.70.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.77.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.78.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.78.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.79.2.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.80.2.4  11-Dec-2002  thorpej Sync with HEAD.
 1.80.2.3  20-Jun-2002  nathanw Catch up to -current.
 1.80.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.80.2.1  26-Oct-2001  nathanw file Makefile.mac68k was added on branch nathanw_sa on 2002-01-08 00:25:57 +0000
 1.83.8.1  14-Jul-2002  gehenna catch up with -current.
 1.85.10.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.85.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.85.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.85.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.85.6.1  03-Aug-2004  skrll Sync with HEAD
 1.87.2.1  27-Feb-2008  yamt sync with head.
 1.88.56.1  18-Feb-2008  mjf Sync with HEAD.
 1.88.50.1  23-Mar-2008  matt sync with HEAD
 1.89.40.1  08-Feb-2011  bouyer Sync with HEAD
 1.89.38.1  06-Jun-2011  jruoho Sync with HEAD.
 1.89.32.1  05-Mar-2011  rmind sync with head
 1.90.32.1  22-Sep-2015  skrll Sync with HEAD
 1.90.14.1  03-Dec-2017  jdolecek update from HEAD
 1.92.4.1  10-Jun-2019  christos Sync with HEAD
 1.92.2.1  30-Sep-2018  pgoyette Ssync with HEAD

RSS XML Feed