Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/mvme68k/conf/Makefile.mvme68k
RevisionDateAuthorComments
 1.69  18-Jan-2024  thorpej Don't put the MVME1xx model defines into IDENT, make them defflag options and
put them in opt_mvmeconf.h. Make these options depend on the appropriate
M680x0 option (MVME147 -> M68030, MVME16[27] -> M68040, MVME17[27] -> M68060)
so that the CPU option appears correctly in opt_m68k_arch.h.
 1.68  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.67  08-Mar-2018  mrg branches: 1.67.2;
fix various gcc6 m68k issues:
- bad indentation. next68k en.c and mvme68k le_poll.c fixes real issues
in error handling, the rest are NFCI.
- pass 68030 flags as appropriate for mvme68k.
- next68k nextrom.c has -Warray-bounds ignored for an odd expression
that appears to run before relocation, and needs manual offsets
added which trips bounds array checking.

with this all m68k ports build with GCC 6.
 1.66  06-Sep-2015  uebayasi branches: 1.66.16;
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.65  05-Apr-2014  tsutsui branches: 1.65.6;
Specify both -Wa,-march=68030 and -Wa,-mcpu=68030 in -m68060 case for gcc45.

Now VME177 builds with both gcc45 and gcc48
(though untested on the real machines).

XXX: is it really worth to use -m68060 (instead of -m68020-60)
for kernel binaries?
 1.64  30-Mar-2014  tsutsui Fix "Error: unrecognized option -mcpu68030".
 1.63  30-Mar-2014  christos fixes for gcc-4.8 (John D. Baker)
 1.62  21-Jan-2011  joerg branches: 1.62.4; 1.62.14; 1.62.18;
Switch remaining platforms to modern CPP for assembler.
 1.61  18-Feb-2008  joerg branches: 1.61.32; 1.61.38; 1.61.40;
Add assym.h dependencies.
 1.60  11-Dec-2005  christos branches: 1.60.50; 1.60.56;
merge ktrace-lwp.
 1.59  31-May-2005  christos branches: 1.59.2;
s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
 1.58  04-Jun-2004  thorpej Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
 1.57  26-Nov-2002  thorpej branches: 1.57.6; 1.57.10;
The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.
 1.56  04-Jun-2002  thorpej Don't use -traditional-cpp if HAVE_GCC3.
 1.55  09-Dec-2001  atatat branches: 1.55.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.54  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.53  26-Oct-2001  jmc branches: 1.53.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.52  23-Oct-2001  thorpej branches: 1.52.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.51  29-May-2001  mrg branches: 1.51.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.50  17-Dec-2000  jdolecek branches: 1.50.2;
delete obsolete comment
 1.49  20-Nov-2000  scw Add support for the m68060-based machines: MVME-172 and MVME-177.
CPU support taken from a combination of NetBSD/amiga and NetBSD/x68k.

At this time, MVME-172 works but MVME-177 is untested. Since the '177
is otherwise identical to the MVME-167, this should *just work*.
 1.48  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.47  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.46  18-Mar-2000  scw Merge 'scw_mvme68k_bus_space' branch with the trunk.
These changes add support for:

o The MI VMEbus framework on both MVME147 and MVME167.
o Enhancements to the existing MD bus_space(9) implementation.
o Most of the bus_dma(9) API.
 1.45  01-Feb-2000  tsutsui branches: 1.45.2;
Revert STRIPPROG -> STRIP
 1.44  24-Jan-2000  tron Add "dependall" target for comfort.
 1.43  19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.42  19-Jan-2000  tsutsui Change STRIPFLAGS=-g for cross-toolchains.
 1.41  26-Jul-1999  cgd branches: 1.41.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.40  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.39  15-Jan-1999  thorpej branches: 1.39.6;
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
 1.38  15-Jan-1999  thorpej Don't define "mc68020". Nothing uses it.
 1.37  08-Jan-1999  augustss Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
 1.36  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.35  05-Sep-1998  lukem distclean is a synonym for cleandir
 1.34  31-May-1998  thorpej Specify a non-profiling C rule.
 1.33  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.32  12-Nov-1997  thorpej Make sure CPP, AR, AS, and RANLIB are defined.
 1.31  12-Nov-1997  thorpej Define LORDER, NM, and TSORT here, like we do the rest of the tools.
 1.30  03-Oct-1997  lukem branches: 1.30.2;
define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
 1.29  30-Sep-1997  christos 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.28  12-Sep-1997  mycroft FPCOPROC is no longer used here.
 1.27  12-Sep-1997  mycroft Kill vestiges of Locore.c.
 1.26  12-Jul-1997  leo branches: 1.26.2;
Generate assym.h dependencies when making 'depend'.
 1.25  25-Apr-1997  thorpej Sync with hp300.
 1.24  08-Apr-1997  gwr Zap AFLAGS
 1.23  17-Mar-1997  gwr Support cross-compilation.
 1.22  14-Mar-1997  mycroft Put the genassym.sh output in a temp file, and mv -f it, in case
it fails spectacularly and doesn't clean up. Also, remove dependencies for
genassym.o (since it no longer exists).
 1.21  13-Mar-1997  mycroft Use genassym.cf, to support cross-compiling.
 1.20  10-Mar-1997  chuck remove "::" entries as per cgd
 1.19  04-Feb-1997  perry branches: 1.19.4;
Nuke some options GENERIC residue.
 1.18  04-Feb-1997  perry Nuke some GENERIC residue.
 1.17  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.16  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.15  31-Aug-1996  mycroft Wrap the default definition of `S' in `.ifndef'.
 1.14  12-Aug-1996  mycroft Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
 1.13  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.12  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.11  11-May-1996  mycroft Make `make depend' work for libraries.
 1.10  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.9  26-Feb-1996  mycroft Define build programs with `?=', so they can be overridden with `makeoptions'.
 1.8  09-Feb-1996  mycroft Fix mkdep problems due to missing flags.
 1.7  03-Feb-1996  mycroft Use `-traditional-cpp' when building .s and .S files.
 1.6  02-Feb-1996  mycroft Clone these, and fix many bugs.
 1.5  02-Feb-1996  mycroft assym.s -> assym.h
(Some ports did this already.)
 1.4  01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.3  19-Sep-1995  thorpej Compile the kernel with -Werror and -fno-builtin.
 1.2  10-Aug-1995  chuck minor alphabetize clean up
 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.19.4.1  12-Mar-1997  is Merge in changes from Trunk
 1.26.2.2  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.26.2.1  16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.30.2.1  12-Nov-1997  thorpej Pull up "make sure tools are defined" changes from trunk.
 1.39.6.1  02-Aug-1999  thorpej Update from trunk.
 1.41.2.3  05-Jan-2001  bouyer Sync with HEAD
 1.41.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.41.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.45.2.1  18-Mar-2000  scw MI VMEbus glue more or less complete.
Kernels now compiled with -Wall, etc. (lots of fixes needed for this)
All MD drivers now bus_spaced/bus_dma'd. The two SCSI drivers should
be replaced with bus_spaced MI versions at some point.
 1.50.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.51.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.51.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.52.2.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.53.2.5  11-Dec-2002  thorpej Sync with HEAD.
 1.53.2.4  20-Jun-2002  nathanw Catch up to -current.
 1.53.2.3  17-Apr-2002  nathanw Catch up to -current.
 1.53.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.53.2.1  26-Oct-2001  nathanw file Makefile.mvme68k was added on branch nathanw_sa on 2002-01-08 00:26:31 +0000
 1.55.8.1  14-Jul-2002  gehenna catch up with -current.
 1.57.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.57.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.57.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.57.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.57.6.1  03-Aug-2004  skrll Sync with HEAD
 1.59.2.1  27-Feb-2008  yamt sync with head.
 1.60.56.1  18-Feb-2008  mjf Sync with HEAD.
 1.60.50.1  23-Mar-2008  matt sync with HEAD
 1.61.40.1  08-Feb-2011  bouyer Sync with HEAD
 1.61.38.1  06-Jun-2011  jruoho Sync with HEAD.
 1.61.32.1  05-Mar-2011  rmind sync with head
 1.62.18.1  18-May-2014  rmind sync with head
 1.62.14.2  03-Dec-2017  jdolecek update from HEAD
 1.62.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.62.4.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")
 1.65.6.1  22-Sep-2015  skrll Sync with HEAD
 1.66.16.2  30-Sep-2018  pgoyette Ssync with HEAD
 1.66.16.1  15-Mar-2018  pgoyette Synch with HEAD
 1.67.2.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed