History log of /netbsd-current/sys/arch/sun3/conf/Makefile.sun3
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.111 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.


Revision tags: netbsd-10-base bouyer-sunxi-drm-base thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.110 07-Sep-2020 mrg

don't error array-bounds and packed-member issues with GCC 9.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
# 1.109 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.108 22-Sep-2018 rin

No need to specify COMPAT_AS anymore.
Now, it is automatically determined from OPT_MODULAR.


Revision tags: pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315
# 1.107 07-Mar-2018 maya

branches: 1.107.2;
Build compat code as .a if not MODULAR.

Removes some more unused functions.


Revision tags: pgoyette-compat-base
# 1.106 03-Mar-2018 mrg

branches: 1.106.2;
sun2/sun3:
- build libkern as an archive for non modular builds. from maya@
sun3:
- cut down GENERIC a bunch to bring below 2MB.
- reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover
enough lost VA to actually run basic tests.


# 1.105 25-Feb-2018 mrg

add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606
# 1.104 15-Apr-2015 mrg

branches: 1.104.10;
remove various HAVE_GCC=45 fragments.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.103 09-Jul-2011 mrg

branches: 1.103.12; 1.103.30;
fix previous and use a correct make construct


# 1.102 08-Jul-2011 mrg

don't use -msoft-float for GCC 4.5. -msoft-float passes down -mno-float
to the assembler, which barfs, and i can't see any way to disable it just
for sun3/fpu.c.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base rmind-uvmplock-base jym-xensuspend-nbase jym-xensuspend-base
# 1.101 21-Jan-2011 joerg

Switch remaining platforms to modern CPP for assembler.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE jruoho-x86intr-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base uebayasi-xip-base6 uebayasi-xip-base5 netbsd-5-1-RELEASE uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 netbsd-5-1-RC4 matt-nb5-mips64-k15 uebayasi-xip-base2 yamt-nfs-mp-base10 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase mjf-devfs2-base nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.100 19-Feb-2008 joerg

branches: 1.100.32; 1.100.38; 1.100.40;
Add missing assym.h dependency.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.99 11-Dec-2005 christos

branches: 1.99.50;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.98 31-May-2005 christos

branches: 1.98.2;
s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
# 1.97 04-Jun-2004 thorpej

Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.96 26-Nov-2002 thorpej

branches: 1.96.6; 1.96.10;
The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.


Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
# 1.95 04-Jun-2002 thorpej

Don't use -traditional-cpp if HAVE_GCC3.


# 1.94 30-May-2002 thorpej

Get rid of the XDEFS thing; the new toolchain provides a proper
cross compilation environment.


Revision tags: netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
# 1.93 10-Feb-2002 chs

branches: 1.93.8; 1.93.10;
add "-m68030" for sun3x, addresses PR 15312.


# 1.92 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.91 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.90 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


Revision tags: thorpej-mips-cache-base
# 1.89 26-Oct-2001 jmc

branches: 1.89.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.88 23-Oct-2001 thorpej

branches: 1.88.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.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.87 29-May-2001 mrg

branches: 1.87.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.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.86 22-Feb-2001 chs

branches: 1.86.2;
switch sun3 to ELF. highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.


# 1.85 04-Feb-2001 tsutsui

Add -D__m68k__ to XDEF.
It is required by sys/compat/linux/common/linux_exec.h.

XXX: -undef is still required?


# 1.84 17-Dec-2000 jdolecek

delete obsolete comment


# 1.83 07-Dec-2000 jdolecek

convert to use genassym.cf & genassym.sh, as other ports do


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.82 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.81 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.


Revision tags: chs-ubc2-newbase
# 1.80 01-Feb-2000 tsutsui

Revert STRIPPROG -> STRIP


# 1.79 24-Jan-2000 tron

Add "dependall" target for comfort.


# 1.78 19-Jan-2000 tsutsui

STRIP -> STRIPPROG


# 1.77 19-Jan-2000 tsutsui

Change STRIPFLAGS=-g for cross-toolchains.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base chs-ubc2-base
# 1.76 26-Jul-1999 cgd

branches: 1.76.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.75 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. :)


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.74 15-Jan-1999 thorpej

branches: 1.74.4;
Don't define "mc68020". Nothing uses it.


# 1.73 08-Jan-1999 augustss

Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.


# 1.72 13-Dec-1998 kleink

Add -Werror and -Wmissing-prototypes, like most other ports do.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.71 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.70 05-Sep-1998 lukem

distclean is a synonym for cleandir


Revision tags: eeh-paddr_t-base
# 1.69 31-May-1998 thorpej

Specify a non-profiling C rule.


# 1.68 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.67 05-Feb-1998 gwr

Merge arch/sun3x into arch/sun3


Revision tags: gwr-3x3-base
# 1.66 12-Nov-1997 thorpej

branches: 1.66.2;
Make sure CPP, AR, AS, and RANLIB are defined.


# 1.65 12-Nov-1997 thorpej

Define LORDER, NM, and TSORT here, like we do the rest of the tools.


# 1.64 23-Oct-1997 gwr

Generate assym.h into assym.h.tmp first, then move it. (safety)
Add a dependency for stub.o:Makefile


Revision tags: netbsd-1-3-base marc-pcmcia-base
# 1.63 04-Oct-1997 gwr

branches: 1.63.2;
use common genassym.awk


# 1.62 03-Oct-1997 lukem

define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier


# 1.61 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.60 12-Sep-1997 mycroft

Kill vestiges of Locore.c.


Revision tags: thorpej-signal-base marc-pcmcia-bp
# 1.59 17-Mar-1997 gwr

branches: 1.59.4;
Fixup dependencies


Revision tags: is-newarp-before-merge
# 1.58 10-Feb-1997 gwr

Add -fno-defer-pop to COPTS (helps ddb backtrace).
Add AFLAGS=-m68020 and use it with ${AS} commands.
Depend kgdb_stub.o on Makefile (KGDBDEV, KGDBRATE).


# 1.57 07-Feb-1997 gwr

Get rid of HOSTED_CC.


Revision tags: is-newarp-base
# 1.56 04-Feb-1997 gwr

branches: 1.56.2;
change :: to :


# 1.55 04-Feb-1997 perry

Nuke some options GENERIC residue.


# 1.54 04-Feb-1997 perry

Nuke some GENERIC residue.


# 1.53 17-Dec-1996 gwr

Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!) Also get rid of __BROKEN_INDIRECT_CONFIG


# 1.52 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.51 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.50 31-Aug-1996 mycroft

Wrap the default definition of `S' in `.ifndef'.


# 1.49 12-Aug-1996 mycroft

Put into . Remove hooks for `config-dependent' and
`device-driver' flags.


# 1.48 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.47 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.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.46 20-Jun-1996 gwr

branches: 1.46.2;
Take control over the kernel libraries so cross-build is easier.


# 1.45 18-Jun-1996 gwr

Several minor changes to make cross-compilation easier.
(I do most compiles on a sparc these days...)


# 1.44 11-May-1996 mycroft

Make `make depend' work for libraries.


# 1.43 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.42 26-Feb-1996 mycroft

Define build programs with `?=', so they can be overridden with `makeoptions'.


# 1.41 20-Feb-1996 gwr

keep static symbols


# 1.40 09-Feb-1996 mycroft

Fix mkdep problems due to missing flags.


# 1.39 03-Feb-1996 mycroft

Use `-traditional-cpp' when building .s and .S files.


# 1.38 02-Feb-1996 mycroft

Clone these, and fix many bugs.


# 1.37 02-Feb-1996 mycroft

assym.s -> assym.h
(Some ports did this already.)


# 1.36 01-Feb-1996 mycroft

LOCORE -> _LOCORE


# 1.35 17-Nov-1995 gwr

Switch to ncr_si (will just do PIO for now) and cleanup


Revision tags: netbsd-1-1-base
# 1.34 19-Sep-1995 thorpej

branches: 1.34.2;
Compile the kernel with -Werror -fno-builtin.


# 1.33 01-Jul-1995 gwr

Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.
Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.


# 1.32 24-Jun-1995 christos

Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
so libraries can use the clean target too
- Add genassym to the clean targets


# 1.31 09-Jun-1995 gwr

Retool for native build.


# 1.30 24-May-1995 gwr

Merged locore code back into locore.s


# 1.29 16-May-1995 jtc

Removing -DKERNEL, transition to _KERNEL has been completed


# 1.28 23-Mar-1995 jtc

Added -D_KERNEL to CFLAGS alongside each -DKERNEL.


# 1.27 01-Mar-1995 gwr

Minor tweaks: avoid accidental FPU instructions,
allow DEBUG=-O override on the make command line.


# 1.26 24-Jan-1995 gwr

Include vnode_if.c in mkdep args.


# 1.25 11-Jan-1995 gwr

Cleanup (cpp flags just once)


# 1.24 21-Nov-1994 gwr

Lots of changes. Fairly stable now.


# 1.23 26-Oct-1994 cgd

new RCS ID format.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.22 20-Sep-1994 gwr

branches: 1.22.2;
Turn on optimization.


# 1.21 18-Jul-1994 gwr

Add mising dependency


# 1.20 28-Jun-1994 gwr

branches: 1.20.2;
Move vnode_if.o earlier in the OBJ list.


# 1.19 13-Jun-1994 gwr

Update for new FS code (vnode_if.*)


# 1.18 13-May-1994 gwr

SCSI driver works!


# 1.17 04-May-1994 gwr

Make conf.o depend on the Makefile


# 1.16 24-Apr-1994 glass

fixed to use new queue stuff. random diffs to make ddb stuff mostly compile


# 1.15 01-Mar-1994 glass

cleanup


# 1.14 23-Feb-1994 glass

boots, presents shell prompt, and doesn't crash immediately


Revision tags: sun3-current
# 1.13 04-Feb-1994 glass

sun3 port works under NetBSD-current now. rcsids probably fucked


Revision tags: sun3-magnum glass-home4
# 1.12 23-Nov-1993 glass

Now works with current tree, as opposed to the july 8th tree in which it was
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary. Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.

[from glass Mon Nov 22 21:22:45 PST 1993 home tag: home2]


# 1.11 10-Nov-1993 deraadt

some cleanup, better than sending adam reminder notes


# 1.10 12-Oct-1993 glass

sun3 port updated. netboot integrated.


Revision tags: magnum-base to_lamp_cvs first_uplaod
# 1.9 21-Aug-1993 glass

snapshot. for uploading. gets lost in swtch after enablertclock()


# 1.8 16-Aug-1993 glass

cute bug that mycroft fixed in the hp300 stuff


# 1.7 15-Aug-1993 glass

runs up to and including configure().
todo: exceptions, interrupt support, make isrs affect vector table
kernel/user stacks


# 1.6 08-Aug-1993 glass

make config -g work, add timesink config


# 1.5 05-Aug-1993 glass

gets to consinit() and blows up


# 1.4 03-Aug-1993 glass

it links with out any unresolved symbols, last few are just stubs
because we aren't likely to get near execing init for a while


# 1.3 30-Jul-1993 glass

Fri Jul 30 16:52:00 PDT 1993:
snapshot. things compile but don't link. pmap stuff compiles but
just starting work on interfacing it to the vm system. current projects
appear to be both physical memory and virtual memory maps.


# 1.2 27-Jun-1993 glass

use gas; add support for more stuff


# 1.1 25-Jun-1993 glass

initial commit. little of this actually works


# 1.110 07-Sep-2020 mrg

don't error array-bounds and packed-member issues with GCC 9.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
# 1.109 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.108 22-Sep-2018 rin

No need to specify COMPAT_AS anymore.
Now, it is automatically determined from OPT_MODULAR.


Revision tags: pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315
# 1.107 07-Mar-2018 maya

branches: 1.107.2;
Build compat code as .a if not MODULAR.

Removes some more unused functions.


Revision tags: pgoyette-compat-base
# 1.106 03-Mar-2018 mrg

branches: 1.106.2;
sun2/sun3:
- build libkern as an archive for non modular builds. from maya@
sun3:
- cut down GENERIC a bunch to bring below 2MB.
- reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover
enough lost VA to actually run basic tests.


# 1.105 25-Feb-2018 mrg

add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606
# 1.104 15-Apr-2015 mrg

branches: 1.104.10;
remove various HAVE_GCC=45 fragments.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.103 09-Jul-2011 mrg

branches: 1.103.12; 1.103.30;
fix previous and use a correct make construct


# 1.102 08-Jul-2011 mrg

don't use -msoft-float for GCC 4.5. -msoft-float passes down -mno-float
to the assembler, which barfs, and i can't see any way to disable it just
for sun3/fpu.c.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base rmind-uvmplock-base jym-xensuspend-nbase jym-xensuspend-base
# 1.101 21-Jan-2011 joerg

Switch remaining platforms to modern CPP for assembler.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE jruoho-x86intr-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base uebayasi-xip-base6 uebayasi-xip-base5 netbsd-5-1-RELEASE uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 netbsd-5-1-RC4 matt-nb5-mips64-k15 uebayasi-xip-base2 yamt-nfs-mp-base10 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase mjf-devfs2-base nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.100 19-Feb-2008 joerg

branches: 1.100.32; 1.100.38; 1.100.40;
Add missing assym.h dependency.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.99 11-Dec-2005 christos

branches: 1.99.50;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.98 31-May-2005 christos

branches: 1.98.2;
s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
# 1.97 04-Jun-2004 thorpej

Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.96 26-Nov-2002 thorpej

branches: 1.96.6; 1.96.10;
The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.


Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
# 1.95 04-Jun-2002 thorpej

Don't use -traditional-cpp if HAVE_GCC3.


# 1.94 30-May-2002 thorpej

Get rid of the XDEFS thing; the new toolchain provides a proper
cross compilation environment.


Revision tags: netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
# 1.93 10-Feb-2002 chs

branches: 1.93.8; 1.93.10;
add "-m68030" for sun3x, addresses PR 15312.


# 1.92 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.91 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.90 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


Revision tags: thorpej-mips-cache-base
# 1.89 26-Oct-2001 jmc

branches: 1.89.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.88 23-Oct-2001 thorpej

branches: 1.88.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.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.87 29-May-2001 mrg

branches: 1.87.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.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.86 22-Feb-2001 chs

branches: 1.86.2;
switch sun3 to ELF. highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.


# 1.85 04-Feb-2001 tsutsui

Add -D__m68k__ to XDEF.
It is required by sys/compat/linux/common/linux_exec.h.

XXX: -undef is still required?


# 1.84 17-Dec-2000 jdolecek

delete obsolete comment


# 1.83 07-Dec-2000 jdolecek

convert to use genassym.cf & genassym.sh, as other ports do


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.82 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.81 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.


Revision tags: chs-ubc2-newbase
# 1.80 01-Feb-2000 tsutsui

Revert STRIPPROG -> STRIP


# 1.79 24-Jan-2000 tron

Add "dependall" target for comfort.


# 1.78 19-Jan-2000 tsutsui

STRIP -> STRIPPROG


# 1.77 19-Jan-2000 tsutsui

Change STRIPFLAGS=-g for cross-toolchains.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base chs-ubc2-base
# 1.76 26-Jul-1999 cgd

branches: 1.76.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.75 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. :)


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.74 15-Jan-1999 thorpej

branches: 1.74.4;
Don't define "mc68020". Nothing uses it.


# 1.73 08-Jan-1999 augustss

Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.


# 1.72 13-Dec-1998 kleink

Add -Werror and -Wmissing-prototypes, like most other ports do.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.71 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.70 05-Sep-1998 lukem

distclean is a synonym for cleandir


Revision tags: eeh-paddr_t-base
# 1.69 31-May-1998 thorpej

Specify a non-profiling C rule.


# 1.68 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.67 05-Feb-1998 gwr

Merge arch/sun3x into arch/sun3


Revision tags: gwr-3x3-base
# 1.66 12-Nov-1997 thorpej

branches: 1.66.2;
Make sure CPP, AR, AS, and RANLIB are defined.


# 1.65 12-Nov-1997 thorpej

Define LORDER, NM, and TSORT here, like we do the rest of the tools.


# 1.64 23-Oct-1997 gwr

Generate assym.h into assym.h.tmp first, then move it. (safety)
Add a dependency for stub.o:Makefile


Revision tags: netbsd-1-3-base marc-pcmcia-base
# 1.63 04-Oct-1997 gwr

branches: 1.63.2;
use common genassym.awk


# 1.62 03-Oct-1997 lukem

define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier


# 1.61 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.60 12-Sep-1997 mycroft

Kill vestiges of Locore.c.


Revision tags: thorpej-signal-base marc-pcmcia-bp
# 1.59 17-Mar-1997 gwr

branches: 1.59.4;
Fixup dependencies


Revision tags: is-newarp-before-merge
# 1.58 10-Feb-1997 gwr

Add -fno-defer-pop to COPTS (helps ddb backtrace).
Add AFLAGS=-m68020 and use it with ${AS} commands.
Depend kgdb_stub.o on Makefile (KGDBDEV, KGDBRATE).


# 1.57 07-Feb-1997 gwr

Get rid of HOSTED_CC.


Revision tags: is-newarp-base
# 1.56 04-Feb-1997 gwr

branches: 1.56.2;
change :: to :


# 1.55 04-Feb-1997 perry

Nuke some options GENERIC residue.


# 1.54 04-Feb-1997 perry

Nuke some GENERIC residue.


# 1.53 17-Dec-1996 gwr

Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!) Also get rid of __BROKEN_INDIRECT_CONFIG


# 1.52 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.51 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.50 31-Aug-1996 mycroft

Wrap the default definition of `S' in `.ifndef'.


# 1.49 12-Aug-1996 mycroft

Put into . Remove hooks for `config-dependent' and
`device-driver' flags.


# 1.48 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.47 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.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.46 20-Jun-1996 gwr

branches: 1.46.2;
Take control over the kernel libraries so cross-build is easier.


# 1.45 18-Jun-1996 gwr

Several minor changes to make cross-compilation easier.
(I do most compiles on a sparc these days...)


# 1.44 11-May-1996 mycroft

Make `make depend' work for libraries.


# 1.43 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.42 26-Feb-1996 mycroft

Define build programs with `?=', so they can be overridden with `makeoptions'.


# 1.41 20-Feb-1996 gwr

keep static symbols


# 1.40 09-Feb-1996 mycroft

Fix mkdep problems due to missing flags.


# 1.39 03-Feb-1996 mycroft

Use `-traditional-cpp' when building .s and .S files.


# 1.38 02-Feb-1996 mycroft

Clone these, and fix many bugs.


# 1.37 02-Feb-1996 mycroft

assym.s -> assym.h
(Some ports did this already.)


# 1.36 01-Feb-1996 mycroft

LOCORE -> _LOCORE


# 1.35 17-Nov-1995 gwr

Switch to ncr_si (will just do PIO for now) and cleanup


Revision tags: netbsd-1-1-base
# 1.34 19-Sep-1995 thorpej

branches: 1.34.2;
Compile the kernel with -Werror -fno-builtin.


# 1.33 01-Jul-1995 gwr

Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.
Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.


# 1.32 24-Jun-1995 christos

Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
so libraries can use the clean target too
- Add genassym to the clean targets


# 1.31 09-Jun-1995 gwr

Retool for native build.


# 1.30 24-May-1995 gwr

Merged locore code back into locore.s


# 1.29 16-May-1995 jtc

Removing -DKERNEL, transition to _KERNEL has been completed


# 1.28 23-Mar-1995 jtc

Added -D_KERNEL to CFLAGS alongside each -DKERNEL.


# 1.27 01-Mar-1995 gwr

Minor tweaks: avoid accidental FPU instructions,
allow DEBUG=-O override on the make command line.


# 1.26 24-Jan-1995 gwr

Include vnode_if.c in mkdep args.


# 1.25 11-Jan-1995 gwr

Cleanup (cpp flags just once)


# 1.24 21-Nov-1994 gwr

Lots of changes. Fairly stable now.


# 1.23 26-Oct-1994 cgd

new RCS ID format.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.22 20-Sep-1994 gwr

branches: 1.22.2;
Turn on optimization.


# 1.21 18-Jul-1994 gwr

Add mising dependency


# 1.20 28-Jun-1994 gwr

branches: 1.20.2;
Move vnode_if.o earlier in the OBJ list.


# 1.19 13-Jun-1994 gwr

Update for new FS code (vnode_if.*)


# 1.18 13-May-1994 gwr

SCSI driver works!


# 1.17 04-May-1994 gwr

Make conf.o depend on the Makefile


# 1.16 24-Apr-1994 glass

fixed to use new queue stuff. random diffs to make ddb stuff mostly compile


# 1.15 01-Mar-1994 glass

cleanup


# 1.14 23-Feb-1994 glass

boots, presents shell prompt, and doesn't crash immediately


Revision tags: sun3-current
# 1.13 04-Feb-1994 glass

sun3 port works under NetBSD-current now. rcsids probably fucked


Revision tags: sun3-magnum glass-home4
# 1.12 23-Nov-1993 glass

Now works with current tree, as opposed to the july 8th tree in which it was
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary. Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.

[from glass Mon Nov 22 21:22:45 PST 1993 home tag: home2]


# 1.11 10-Nov-1993 deraadt

some cleanup, better than sending adam reminder notes


# 1.10 12-Oct-1993 glass

sun3 port updated. netboot integrated.


Revision tags: magnum-base to_lamp_cvs first_uplaod
# 1.9 21-Aug-1993 glass

snapshot. for uploading. gets lost in swtch after enablertclock()


# 1.8 16-Aug-1993 glass

cute bug that mycroft fixed in the hp300 stuff


# 1.7 15-Aug-1993 glass

runs up to and including configure().
todo: exceptions, interrupt support, make isrs affect vector table
kernel/user stacks


# 1.6 08-Aug-1993 glass

make config -g work, add timesink config


# 1.5 05-Aug-1993 glass

gets to consinit() and blows up


# 1.4 03-Aug-1993 glass

it links with out any unresolved symbols, last few are just stubs
because we aren't likely to get near execing init for a while


# 1.3 30-Jul-1993 glass

Fri Jul 30 16:52:00 PDT 1993:
snapshot. things compile but don't link. pmap stuff compiles but
just starting work on interfacing it to the vm system. current projects
appear to be both physical memory and virtual memory maps.


# 1.2 27-Jun-1993 glass

use gas; add support for more stuff


# 1.1 25-Jun-1993 glass

initial commit. little of this actually works


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
# 1.109 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.108 22-Sep-2018 rin

No need to specify COMPAT_AS anymore.
Now, it is automatically determined from OPT_MODULAR.


Revision tags: pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315
# 1.107 07-Mar-2018 maya

Build compat code as .a if not MODULAR.

Removes some more unused functions.


Revision tags: pgoyette-compat-base
# 1.106 03-Mar-2018 mrg

branches: 1.106.2;
sun2/sun3:
- build libkern as an archive for non modular builds. from maya@
sun3:
- cut down GENERIC a bunch to bring below 2MB.
- reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover
enough lost VA to actually run basic tests.


# 1.105 25-Feb-2018 mrg

add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606
# 1.104 15-Apr-2015 mrg

branches: 1.104.10;
remove various HAVE_GCC=45 fragments.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.103 09-Jul-2011 mrg

branches: 1.103.12; 1.103.30;
fix previous and use a correct make construct


# 1.102 08-Jul-2011 mrg

don't use -msoft-float for GCC 4.5. -msoft-float passes down -mno-float
to the assembler, which barfs, and i can't see any way to disable it just
for sun3/fpu.c.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base rmind-uvmplock-base jym-xensuspend-nbase jym-xensuspend-base
# 1.101 21-Jan-2011 joerg

Switch remaining platforms to modern CPP for assembler.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE jruoho-x86intr-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base uebayasi-xip-base6 uebayasi-xip-base5 netbsd-5-1-RELEASE uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 netbsd-5-1-RC4 matt-nb5-mips64-k15 uebayasi-xip-base2 yamt-nfs-mp-base10 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase mjf-devfs2-base nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.100 19-Feb-2008 joerg

branches: 1.100.32; 1.100.38; 1.100.40;
Add missing assym.h dependency.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.99 11-Dec-2005 christos

branches: 1.99.50;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.98 31-May-2005 christos

branches: 1.98.2;
s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
# 1.97 04-Jun-2004 thorpej

Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.96 26-Nov-2002 thorpej

branches: 1.96.6; 1.96.10;
The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.


Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
# 1.95 04-Jun-2002 thorpej

Don't use -traditional-cpp if HAVE_GCC3.


# 1.94 30-May-2002 thorpej

Get rid of the XDEFS thing; the new toolchain provides a proper
cross compilation environment.


Revision tags: netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
# 1.93 10-Feb-2002 chs

branches: 1.93.8; 1.93.10;
add "-m68030" for sun3x, addresses PR 15312.


# 1.92 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.91 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.90 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


Revision tags: thorpej-mips-cache-base
# 1.89 26-Oct-2001 jmc

branches: 1.89.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.88 23-Oct-2001 thorpej

branches: 1.88.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.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.87 29-May-2001 mrg

branches: 1.87.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.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.86 22-Feb-2001 chs

branches: 1.86.2;
switch sun3 to ELF. highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.


# 1.85 04-Feb-2001 tsutsui

Add -D__m68k__ to XDEF.
It is required by sys/compat/linux/common/linux_exec.h.

XXX: -undef is still required?


# 1.84 17-Dec-2000 jdolecek

delete obsolete comment


# 1.83 07-Dec-2000 jdolecek

convert to use genassym.cf & genassym.sh, as other ports do


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.82 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.81 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.


Revision tags: chs-ubc2-newbase
# 1.80 01-Feb-2000 tsutsui

Revert STRIPPROG -> STRIP


# 1.79 24-Jan-2000 tron

Add "dependall" target for comfort.


# 1.78 19-Jan-2000 tsutsui

STRIP -> STRIPPROG


# 1.77 19-Jan-2000 tsutsui

Change STRIPFLAGS=-g for cross-toolchains.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base chs-ubc2-base
# 1.76 26-Jul-1999 cgd

branches: 1.76.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.75 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. :)


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.74 15-Jan-1999 thorpej

branches: 1.74.4;
Don't define "mc68020". Nothing uses it.


# 1.73 08-Jan-1999 augustss

Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.


# 1.72 13-Dec-1998 kleink

Add -Werror and -Wmissing-prototypes, like most other ports do.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.71 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.70 05-Sep-1998 lukem

distclean is a synonym for cleandir


Revision tags: eeh-paddr_t-base
# 1.69 31-May-1998 thorpej

Specify a non-profiling C rule.


# 1.68 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.67 05-Feb-1998 gwr

Merge arch/sun3x into arch/sun3


Revision tags: gwr-3x3-base
# 1.66 12-Nov-1997 thorpej

branches: 1.66.2;
Make sure CPP, AR, AS, and RANLIB are defined.


# 1.65 12-Nov-1997 thorpej

Define LORDER, NM, and TSORT here, like we do the rest of the tools.


# 1.64 23-Oct-1997 gwr

Generate assym.h into assym.h.tmp first, then move it. (safety)
Add a dependency for stub.o:Makefile


Revision tags: netbsd-1-3-base marc-pcmcia-base
# 1.63 04-Oct-1997 gwr

branches: 1.63.2;
use common genassym.awk


# 1.62 03-Oct-1997 lukem

define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier


# 1.61 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.60 12-Sep-1997 mycroft

Kill vestiges of Locore.c.


Revision tags: thorpej-signal-base marc-pcmcia-bp
# 1.59 17-Mar-1997 gwr

branches: 1.59.4;
Fixup dependencies


Revision tags: is-newarp-before-merge
# 1.58 10-Feb-1997 gwr

Add -fno-defer-pop to COPTS (helps ddb backtrace).
Add AFLAGS=-m68020 and use it with ${AS} commands.
Depend kgdb_stub.o on Makefile (KGDBDEV, KGDBRATE).


# 1.57 07-Feb-1997 gwr

Get rid of HOSTED_CC.


Revision tags: is-newarp-base
# 1.56 04-Feb-1997 gwr

branches: 1.56.2;
change :: to :


# 1.55 04-Feb-1997 perry

Nuke some options GENERIC residue.


# 1.54 04-Feb-1997 perry

Nuke some GENERIC residue.


# 1.53 17-Dec-1996 gwr

Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!) Also get rid of __BROKEN_INDIRECT_CONFIG


# 1.52 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.51 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.50 31-Aug-1996 mycroft

Wrap the default definition of `S' in `.ifndef'.


# 1.49 12-Aug-1996 mycroft

Put into . Remove hooks for `config-dependent' and
`device-driver' flags.


# 1.48 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.47 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.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.46 20-Jun-1996 gwr

branches: 1.46.2;
Take control over the kernel libraries so cross-build is easier.


# 1.45 18-Jun-1996 gwr

Several minor changes to make cross-compilation easier.
(I do most compiles on a sparc these days...)


# 1.44 11-May-1996 mycroft

Make `make depend' work for libraries.


# 1.43 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.42 26-Feb-1996 mycroft

Define build programs with `?=', so they can be overridden with `makeoptions'.


# 1.41 20-Feb-1996 gwr

keep static symbols


# 1.40 09-Feb-1996 mycroft

Fix mkdep problems due to missing flags.


# 1.39 03-Feb-1996 mycroft

Use `-traditional-cpp' when building .s and .S files.


# 1.38 02-Feb-1996 mycroft

Clone these, and fix many bugs.


# 1.37 02-Feb-1996 mycroft

assym.s -> assym.h
(Some ports did this already.)


# 1.36 01-Feb-1996 mycroft

LOCORE -> _LOCORE


# 1.35 17-Nov-1995 gwr

Switch to ncr_si (will just do PIO for now) and cleanup


Revision tags: netbsd-1-1-base
# 1.34 19-Sep-1995 thorpej

branches: 1.34.2;
Compile the kernel with -Werror -fno-builtin.


# 1.33 01-Jul-1995 gwr

Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.
Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.


# 1.32 24-Jun-1995 christos

Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
so libraries can use the clean target too
- Add genassym to the clean targets


# 1.31 09-Jun-1995 gwr

Retool for native build.


# 1.30 24-May-1995 gwr

Merged locore code back into locore.s


# 1.29 16-May-1995 jtc

Removing -DKERNEL, transition to _KERNEL has been completed


# 1.28 23-Mar-1995 jtc

Added -D_KERNEL to CFLAGS alongside each -DKERNEL.


# 1.27 01-Mar-1995 gwr

Minor tweaks: avoid accidental FPU instructions,
allow DEBUG=-O override on the make command line.


# 1.26 24-Jan-1995 gwr

Include vnode_if.c in mkdep args.


# 1.25 11-Jan-1995 gwr

Cleanup (cpp flags just once)


# 1.24 21-Nov-1994 gwr

Lots of changes. Fairly stable now.


# 1.23 26-Oct-1994 cgd

new RCS ID format.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.22 20-Sep-1994 gwr

branches: 1.22.2;
Turn on optimization.


# 1.21 18-Jul-1994 gwr

Add mising dependency


# 1.20 28-Jun-1994 gwr

branches: 1.20.2;
Move vnode_if.o earlier in the OBJ list.


# 1.19 13-Jun-1994 gwr

Update for new FS code (vnode_if.*)


# 1.18 13-May-1994 gwr

SCSI driver works!


# 1.17 04-May-1994 gwr

Make conf.o depend on the Makefile


# 1.16 24-Apr-1994 glass

fixed to use new queue stuff. random diffs to make ddb stuff mostly compile


# 1.15 01-Mar-1994 glass

cleanup


# 1.14 23-Feb-1994 glass

boots, presents shell prompt, and doesn't crash immediately


Revision tags: sun3-current
# 1.13 04-Feb-1994 glass

sun3 port works under NetBSD-current now. rcsids probably fucked


Revision tags: sun3-magnum glass-home4
# 1.12 23-Nov-1993 glass

Now works with current tree, as opposed to the july 8th tree in which it was
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary. Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.

[from glass Mon Nov 22 21:22:45 PST 1993 home tag: home2]


# 1.11 10-Nov-1993 deraadt

some cleanup, better than sending adam reminder notes


# 1.10 12-Oct-1993 glass

sun3 port updated. netboot integrated.


Revision tags: magnum-base to_lamp_cvs first_uplaod
# 1.9 21-Aug-1993 glass

snapshot. for uploading. gets lost in swtch after enablertclock()


# 1.8 16-Aug-1993 glass

cute bug that mycroft fixed in the hp300 stuff


# 1.7 15-Aug-1993 glass

runs up to and including configure().
todo: exceptions, interrupt support, make isrs affect vector table
kernel/user stacks


# 1.6 08-Aug-1993 glass

make config -g work, add timesink config


# 1.5 05-Aug-1993 glass

gets to consinit() and blows up


# 1.4 03-Aug-1993 glass

it links with out any unresolved symbols, last few are just stubs
because we aren't likely to get near execing init for a while


# 1.3 30-Jul-1993 glass

Fri Jul 30 16:52:00 PDT 1993:
snapshot. things compile but don't link. pmap stuff compiles but
just starting work on interfacing it to the vm system. current projects
appear to be both physical memory and virtual memory maps.


# 1.2 27-Jun-1993 glass

use gas; add support for more stuff


# 1.1 25-Jun-1993 glass

initial commit. little of this actually works