History log of /netbsd-current/sys/arch/sparc/conf/Makefile.sparc
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
# 1.96 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


Revision tags: pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base 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
# 1.95 03-Dec-2016 christos

branches: 1.95.14;
struct cpu_info is varible size when page_size is not fixed.


Revision tags: 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
# 1.94 27-Feb-2016 joerg

branches: 1.94.2;
Ignore unused arguments for clang as we pass assembler flags and the
like to the preprocessor-only mode. Conditionalize GCC flags that are
not known to clang accordingly.


Revision tags: nick-nhusb-base-20151226 nick-nhusb-base-20150921
# 1.93 24-Aug-2015 uebayasi

Define ${LINKSCRIPT} in one place.


# 1.92 18-Aug-2015 uebayasi

Adjust paths to ${KERNLDSCRIPT} files so that dependency is resolved.


# 1.91 18-Aug-2015 uebayasi

Use ${KERNLDSCRIPT} instead of ${KERN_LDSCRIPT}. The former is added
to ${SYSTEM_DEP} if defined.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
# 1.90 15-Nov-2014 uebayasi

branches: 1.90.2;
Use LINKSCRIPT.


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 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.89 03-Oct-2013 mrg

add -Wa,-Av8 to CFLAGS and AFLAGS to fix kernel build with binutils 2.23.2.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-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 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 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.88 17-Jan-2011 joerg

branches: 1.88.6; 1.88.16; 1.88.20;
Move SPARC and SPARC64 to modern CPP. Update UPDATING note for this and
Alpha.


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.87 06-Jul-2010 mrg

branches: 1.87.2;
remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h


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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 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 mjf-devfs-base hpcarm-cleanup-base
# 1.86 12-Feb-2008 joerg

branches: 1.86.10; 1.86.30; 1.86.32;
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 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.85 11-Dec-2005 christos

branches: 1.85.50; 1.85.56;
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.84 31-May-2005 christos

branches: 1.84.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.83 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.82 26-Nov-2002 thorpej

branches: 1.82.6; 1.82.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.81 01-Jul-2002 christos

add a couple more dependencies so that we can build a kernel without
make depend.


# 1.80 04-Jun-2002 thorpej

Don't use -traditional-cpp if HAVE_GCC3.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
# 1.79 22-Jan-2002 pk

branches: 1.79.8;
Remove out-dated dependencies on Makefile.


# 1.78 23-Nov-2001 atatat

Instead of checking for previous usage, just append to some make
variables. Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.


# 1.77 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.76 16-Nov-2001 atatat

Abstract out a large chunk of the kernel build machinery so that new
build features (such as ross's DEBUGLIST) can easily be applied to all
ports. This should reduce the complexity of each port's kernel
Makefile considerably. Line counts:

227 arch/i386/conf/Makefile.i386.orig
98 arch/i386/conf/Makefile.i386
227 arch/alpha/conf/Makefile.alpha.orig
99 arch/alpha/conf/Makefile.alpha
219 arch/sparc/conf/Makefile.sparc.orig
102 arch/sparc/conf/Makefile.sparc
215 arch/vax/conf/Makefile.vax.orig
102 arch/vax/conf/Makefile.vax
253 conf/Makefile.kern.inc

Roll i386, alpha, sparc, and vax over to the new build machinery.


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

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.74 23-Oct-2001 thorpej

branches: 1.74.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.73 29-May-2001 mrg

branches: 1.73.2; 1.73.6;
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.72 11-Feb-2001 pk

branches: 1.72.2;
Supply a kernel link script that puts `etext' at the end of all
read-only sections. Modelled after a similar change in the i386 port.


# 1.71 22-Jan-2001 pk

Add `-mno-fpu' to the compiler options once again: the current compiler
(egcs-2.91.66) is still liable to use FPU registers as temporaries.


# 1.70 17-Dec-2000 jdolecek

delete obsolete comment


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.69 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.68 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.67 01-Feb-2000 tsutsui

Revert STRIPPROG -> STRIP


# 1.66 24-Jan-2000 tron

Add "dependall" target for comfort.


# 1.65 19-Jan-2000 tsutsui

STRIP -> STRIPPROG


# 1.64 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.63 26-Jul-1999 cgd

branches: 1.63.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.62 10-Jul-1999 christos

we don't need no-fpu; anyway this has been renamed in new version of egcs


# 1.61 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.60 28-Jun-1999 pk

Allow SFILES to be empty; from Julian Coleman.


# 1.59 05-May-1999 christos

Use -n for ELF. Using -N might work, but produces only one section.
No flags will not work, because it will produce a kernel loaded at 0xf0000000.
This is because the bfd ELF pagesize (in elf32-sparc.c) is 0x10000. Since
we need to load at 0xf0004000, we use -n.


# 1.58 30-Apr-1999 christos

Add -n for ELF, note weirdness in comment.


# 1.57 18-Apr-1999 mrg

use LINKFLAGS=-X to avoid stripping out per-file debugging info (idea from chuck@netbsd.org)


Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 14-Feb-1999 christos

branches: 1.56.2; 1.56.4; 1.56.6;
Elf bits.


# 1.55 08-Jan-1999 augustss

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


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

distclean is a synonym for cleandir


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

Specify a non-profiling C rule.


# 1.51 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.50 12-Nov-1997 thorpej

Make sure CPP, AR, AS, and RANLIB are defined.


# 1.49 12-Nov-1997 thorpej

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


Revision tags: netbsd-1-3-base marc-pcmcia-base
# 1.48 03-Oct-1997 lukem

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


# 1.47 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.46 23-Sep-1997 pk

Move KERNBASE to 0xf0000000.


Revision tags: thorpej-signal-base marc-pcmcia-bp
# 1.45 12-Jul-1997 leo

branches: 1.45.2;
Generate assym.h dependencies when making 'depend'.


# 1.44 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.


Revision tags: is-newarp-before-merge
# 1.43 12-Mar-1997 christos

Use genassym.cf


Revision tags: is-newarp-base
# 1.42 05-Feb-1997 pk

Add `-mno-fpu' to compiler flags; pulled up from 1.2 version.


# 1.41 04-Feb-1997 perry

Nuke some options GENERIC residue.


# 1.40 04-Feb-1997 perry

Nuke some GENERIC residue.


# 1.39 24-Jan-1997 pk

`::' => `:' ; per recent sys/lib/*/Makefile.inc changes.


# 1.38 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.37 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.36 31-Aug-1996 mycroft

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


# 1.35 12-Aug-1996 mycroft

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


# 1.34 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.33 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-base
# 1.32 19-May-1996 pk

branches: 1.32.4;
We don't generally want to profile `genassym' (easy part of PR#2434).


# 1.31 11-May-1996 mycroft

Make `make depend' work for libraries.


# 1.30 15-Mar-1996 christos

Add -Wall -Wstrict-prototypes -Wmissing-prototypes
to the kernel build. The sparc is clean now!


# 1.29 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.28 26-Feb-1996 mycroft

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


# 1.27 09-Feb-1996 mycroft

Fix mkdep problems due to missing flags.


# 1.26 03-Feb-1996 mycroft

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


# 1.25 02-Feb-1996 mycroft

Clone these, and fix many bugs.


# 1.24 02-Feb-1996 mycroft

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


# 1.23 22-Oct-1995 pk

Remove `-fno-builtin'.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.22 19-Sep-1995 thorpej

Compile the kernel with -Werror and -fno-builtin.


# 1.21 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


# 1.20 16-May-1995 jtc

Removing -DKERNEL, transition to _KERNEL has been completed


# 1.19 08-May-1995 pk

Remove -I/usr/include from `genassym' line.


# 1.18 23-Mar-1995 jtc

Added -D_KERNEL to CFLAGS alongside each -DKERNEL.


# 1.17 07-Dec-1994 deraadt

bigtime cleanup


# 1.16 06-Dec-1994 deraadt

clean better


# 1.15 20-Nov-1994 deraadt

copyright/Id cleanup


# 1.14 02-Nov-1994 deraadt

clean vnode_if.[ch]


# 1.13 20-Jul-1994 deraadt

compile kernel with -O2


Revision tags: netbsd-1-0-base
# 1.12 16-Jun-1994 deraadt

branches: 1.12.2;
vnode_if cleanup


# 1.11 10-Jun-1994 pk

New vnode interface.


# 1.10 27-May-1994 pk

Remove old-style profiling hack.


# 1.9 05-May-1994 deraadt

split sun4c/sun4m/sun4 support somewhat


# 1.8 13-Apr-1994 deraadt

compile genassym static


# 1.7 17-Mar-1994 pk

Some bits and pieces to make a profiled kernel (for the moment).


# 1.6 04-Feb-1994 deraadt

make make depend dependable


# 1.5 04-Feb-1994 deraadt

blow away sunos cross compilation gunk. we no longer need it,
as we are capable of compiling ourselves.


Revision tags: sparc-magnum
# 1.4 29-Nov-1993 deraadt

more cleanup


# 1.3 29-Nov-1993 deraadt

start to get rid of some of the hacks


# 1.2 11-Oct-1993 deraadt

New location for libkern, fixes for many paths.
+ lots of temp changes to be backed out later!
DEBUG=-g always, use gcc, link with libgcc.a, include dirs in
a weird place for my development environment.


# 1.1 02-Oct-1993 deraadt

Chris Torek's sparc port. Missing lots of things.


Revision tags: nick-nhusb-base-20161204
# 1.95 03-Dec-2016 christos

struct cpu_info is varible size when page_size is not fixed.


Revision tags: 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
# 1.94 27-Feb-2016 joerg

Ignore unused arguments for clang as we pass assembler flags and the
like to the preprocessor-only mode. Conditionalize GCC flags that are
not known to clang accordingly.


Revision tags: nick-nhusb-base-20151226 nick-nhusb-base-20150921
# 1.93 24-Aug-2015 uebayasi

Define ${LINKSCRIPT} in one place.


# 1.92 18-Aug-2015 uebayasi

Adjust paths to ${KERNLDSCRIPT} files so that dependency is resolved.


# 1.91 18-Aug-2015 uebayasi

Use ${KERNLDSCRIPT} instead of ${KERN_LDSCRIPT}. The former is added
to ${SYSTEM_DEP} if defined.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
# 1.90 15-Nov-2014 uebayasi

branches: 1.90.2;
Use LINKSCRIPT.


Revision tags: 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 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.89 03-Oct-2013 mrg

add -Wa,-Av8 to CFLAGS and AFLAGS to fix kernel build with binutils 2.23.2.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-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 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 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.88 17-Jan-2011 joerg

branches: 1.88.6; 1.88.16; 1.88.20;
Move SPARC and SPARC64 to modern CPP. Update UPDATING note for this and
Alpha.


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.87 06-Jul-2010 mrg

branches: 1.87.2;
remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h


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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 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 mjf-devfs-base hpcarm-cleanup-base
# 1.86 12-Feb-2008 joerg

branches: 1.86.10; 1.86.30; 1.86.32;
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 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.85 11-Dec-2005 christos

branches: 1.85.50; 1.85.56;
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.84 31-May-2005 christos

branches: 1.84.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.83 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.82 26-Nov-2002 thorpej

branches: 1.82.6; 1.82.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.81 01-Jul-2002 christos

add a couple more dependencies so that we can build a kernel without
make depend.


# 1.80 04-Jun-2002 thorpej

Don't use -traditional-cpp if HAVE_GCC3.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
# 1.79 22-Jan-2002 pk

branches: 1.79.8;
Remove out-dated dependencies on Makefile.


# 1.78 23-Nov-2001 atatat

Instead of checking for previous usage, just append to some make
variables. Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.


# 1.77 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.76 16-Nov-2001 atatat

Abstract out a large chunk of the kernel build machinery so that new
build features (such as ross's DEBUGLIST) can easily be applied to all
ports. This should reduce the complexity of each port's kernel
Makefile considerably. Line counts:

227 arch/i386/conf/Makefile.i386.orig
98 arch/i386/conf/Makefile.i386
227 arch/alpha/conf/Makefile.alpha.orig
99 arch/alpha/conf/Makefile.alpha
219 arch/sparc/conf/Makefile.sparc.orig
102 arch/sparc/conf/Makefile.sparc
215 arch/vax/conf/Makefile.vax.orig
102 arch/vax/conf/Makefile.vax
253 conf/Makefile.kern.inc

Roll i386, alpha, sparc, and vax over to the new build machinery.


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

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.74 23-Oct-2001 thorpej

branches: 1.74.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.73 29-May-2001 mrg

branches: 1.73.2; 1.73.6;
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.72 11-Feb-2001 pk

branches: 1.72.2;
Supply a kernel link script that puts `etext' at the end of all
read-only sections. Modelled after a similar change in the i386 port.


# 1.71 22-Jan-2001 pk

Add `-mno-fpu' to the compiler options once again: the current compiler
(egcs-2.91.66) is still liable to use FPU registers as temporaries.


# 1.70 17-Dec-2000 jdolecek

delete obsolete comment


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.69 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.68 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.67 01-Feb-2000 tsutsui

Revert STRIPPROG -> STRIP


# 1.66 24-Jan-2000 tron

Add "dependall" target for comfort.


# 1.65 19-Jan-2000 tsutsui

STRIP -> STRIPPROG


# 1.64 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.63 26-Jul-1999 cgd

branches: 1.63.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.62 10-Jul-1999 christos

we don't need no-fpu; anyway this has been renamed in new version of egcs


# 1.61 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.60 28-Jun-1999 pk

Allow SFILES to be empty; from Julian Coleman.


# 1.59 05-May-1999 christos

Use -n for ELF. Using -N might work, but produces only one section.
No flags will not work, because it will produce a kernel loaded at 0xf0000000.
This is because the bfd ELF pagesize (in elf32-sparc.c) is 0x10000. Since
we need to load at 0xf0004000, we use -n.


# 1.58 30-Apr-1999 christos

Add -n for ELF, note weirdness in comment.


# 1.57 18-Apr-1999 mrg

use LINKFLAGS=-X to avoid stripping out per-file debugging info (idea from chuck@netbsd.org)


Revision tags: kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 14-Feb-1999 christos

branches: 1.56.2; 1.56.4; 1.56.6;
Elf bits.


# 1.55 08-Jan-1999 augustss

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


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

distclean is a synonym for cleandir


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

Specify a non-profiling C rule.


# 1.51 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.50 12-Nov-1997 thorpej

Make sure CPP, AR, AS, and RANLIB are defined.


# 1.49 12-Nov-1997 thorpej

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


Revision tags: netbsd-1-3-base marc-pcmcia-base
# 1.48 03-Oct-1997 lukem

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


# 1.47 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.46 23-Sep-1997 pk

Move KERNBASE to 0xf0000000.


Revision tags: thorpej-signal-base marc-pcmcia-bp
# 1.45 12-Jul-1997 leo

branches: 1.45.2;
Generate assym.h dependencies when making 'depend'.


# 1.44 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.


Revision tags: is-newarp-before-merge
# 1.43 12-Mar-1997 christos

Use genassym.cf


Revision tags: is-newarp-base
# 1.42 05-Feb-1997 pk

Add `-mno-fpu' to compiler flags; pulled up from 1.2 version.


# 1.41 04-Feb-1997 perry

Nuke some options GENERIC residue.


# 1.40 04-Feb-1997 perry

Nuke some GENERIC residue.


# 1.39 24-Jan-1997 pk

`::' => `:' ; per recent sys/lib/*/Makefile.inc changes.


# 1.38 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.37 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.36 31-Aug-1996 mycroft

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


# 1.35 12-Aug-1996 mycroft

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


# 1.34 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.33 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-base
# 1.32 19-May-1996 pk

branches: 1.32.4;
We don't generally want to profile `genassym' (easy part of PR#2434).


# 1.31 11-May-1996 mycroft

Make `make depend' work for libraries.


# 1.30 15-Mar-1996 christos

Add -Wall -Wstrict-prototypes -Wmissing-prototypes
to the kernel build. The sparc is clean now!


# 1.29 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.28 26-Feb-1996 mycroft

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


# 1.27 09-Feb-1996 mycroft

Fix mkdep problems due to missing flags.


# 1.26 03-Feb-1996 mycroft

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


# 1.25 02-Feb-1996 mycroft

Clone these, and fix many bugs.


# 1.24 02-Feb-1996 mycroft

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


# 1.23 22-Oct-1995 pk

Remove `-fno-builtin'.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.22 19-Sep-1995 thorpej

Compile the kernel with -Werror and -fno-builtin.


# 1.21 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


# 1.20 16-May-1995 jtc

Removing -DKERNEL, transition to _KERNEL has been completed


# 1.19 08-May-1995 pk

Remove -I/usr/include from `genassym' line.


# 1.18 23-Mar-1995 jtc

Added -D_KERNEL to CFLAGS alongside each -DKERNEL.


# 1.17 07-Dec-1994 deraadt

bigtime cleanup


# 1.16 06-Dec-1994 deraadt

clean better


# 1.15 20-Nov-1994 deraadt

copyright/Id cleanup


# 1.14 02-Nov-1994 deraadt

clean vnode_if.[ch]


# 1.13 20-Jul-1994 deraadt

compile kernel with -O2


Revision tags: netbsd-1-0-base
# 1.12 16-Jun-1994 deraadt

branches: 1.12.2;
vnode_if cleanup


# 1.11 10-Jun-1994 pk

New vnode interface.


# 1.10 27-May-1994 pk

Remove old-style profiling hack.


# 1.9 05-May-1994 deraadt

split sun4c/sun4m/sun4 support somewhat


# 1.8 13-Apr-1994 deraadt

compile genassym static


# 1.7 17-Mar-1994 pk

Some bits and pieces to make a profiled kernel (for the moment).


# 1.6 04-Feb-1994 deraadt

make make depend dependable


# 1.5 04-Feb-1994 deraadt

blow away sunos cross compilation gunk. we no longer need it,
as we are capable of compiling ourselves.


Revision tags: sparc-magnum
# 1.4 29-Nov-1993 deraadt

more cleanup


# 1.3 29-Nov-1993 deraadt

start to get rid of some of the hacks


# 1.2 11-Oct-1993 deraadt

New location for libkern, fixes for many paths.
+ lots of temp changes to be backed out later!
DEBUG=-g always, use gcc, link with libgcc.a, include dirs in
a weird place for my development environment.


# 1.1 02-Oct-1993 deraadt

Chris Torek's sparc port. Missing lots of things.