History log of /src/sys/arch/i386/conf/Makefile.i386
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base thorpej-ifq-base thorpej-altq-separation-base
# 1.197 06-Jan-2023 christos

Explicitly set -z noseparate-code because the default is about to change
and the boot blocks might not be able to load binaries with more than two
PT_LOAD sections.


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 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.196 11-May-2020 joerg

Fix GCC flags for Spectre mitigation to really only apply to GCC.


# 1.195 25-Apr-2020 bouyer

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor


Revision tags: netbsd-9-4-RELEASE 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.194 22-Sep-2018 rin

branches: 1.194.10;
- 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 phil-wifi-base pgoyette-compat-0625
# 1.193 05-Jun-2018 christos

branches: 1.193.2;
No need for NORELRO here.


# 1.192 04-Jun-2018 christos

Disable RELRO/SANITIZER


Revision tags: pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422
# 1.191 18-Apr-2018 martin

Make SPECTRE_V2_GCC_MITIGATION overridable at the make command line.


Revision tags: pgoyette-compat-0415
# 1.190 07-Apr-2018 mrg

add an SPECTRE_V2_GCC_MITIGATION option to x86 kernels, that turns
on the GCC spectre v2 mitigation options.

XXX: pullup-8.
XXX: turn on in all kernels.


Revision tags: pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.189 23-Feb-2018 maxv

branches: 1.189.2;
Revert previous, we'll need something better (and compatible with Clang).


# 1.188 23-Feb-2018 maxv

Add -fno-shrink-wrap, to force GCC to push the frames at the very beginning
of the functions. Otherwise DDB is unable to display a correct stack trace
if a fault occurred in a function before the frame was pushed.

Discussed on tech-kern@, flag suggested by Krister Walfridsson. Should fix
PR/52560.


# 1.187 10-Dec-2017 christos

- Allow multiple .BEGIN targets
- Make their protection consistent


Revision tags: tls-maxphys-base-20171202 nick-nhusb-base-20170825
# 1.186 09-Aug-2017 maxv

Remove several dead entries from the x86 makefiles. Looks like people (me
included) regularly forget to take care of this.


Revision tags: matt-nb8-mediatek-base 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
# 1.185 24-Aug-2015 uebayasi

branches: 1.185.10;
Define ${LINKSCRIPT} in one place.


# 1.184 18-Aug-2015 uebayasi

${KERN_LDSCRIPT} -> ${KERNLDSCRIPT}


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

branches: 1.183.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 tls-earlyentropy-base tls-maxphys-base
# 1.182 24-May-2014 jakllsch

Now that GCC 4.8 on i486 has stolen the frame pointer, do like amd64 and
add -fno-omit-frame-pointer to kernel DEFCOPTS and modules CFLAGS.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
# 1.181 07-Feb-2014 joerg

branches: 1.181.2;
Like amd64, use -msoft-float.


# 1.180 05-Feb-2014 dsl

Change the compiler options to explicitly specify:
-mno-mmx -mno-sse -mno-avx -mno-80387 -mno-fp-ret-in-387
Since no-sse implies no-sse2 that should ensure that the compiler really
doesn't emit any instructions that might trap trying to use the FPU.
On amd64 at least some of those are needed to stop the compiler
saving the registers to stack on every varargs function.
It might be that -mno-sse did that before.


# 1.179 15-Jan-2014 joerg

Reduce amount of -no-integrated-as on x86 as .code16 is now supported by
LLVM.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
# 1.178 03-Oct-2012 dsl

branches: 1.178.2;
Remove all references to KVM86.
It was only ever used by APMBIOS - and then only if an option was selected.
Probably didn't work well at all!


# 1.177 01-Oct-2012 dsl

apmcall.o no longer exists.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE 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 netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase 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-base2 netbsd-6-base
# 1.176 19-Dec-2011 joerg

branches: 1.176.6;
Move Clang-warning flags for ah_regdomain.c into sys/conf, they are
platform independent. Use the selective -Wno-* flags instead of
-Wno-error.


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.175 14-Sep-2011 christos

branches: 1.175.2; 1.175.6;
include wakecode after so that the depend rules are defined!


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.174 07-Aug-2011 jakllsch

Try to ensure no SSE instructions are generated for kernel code,
as is already done on amd64.


# 1.173 04-Jul-2011 joerg

Use integrated assembler with clang for Via PadLock.


Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
# 1.172 10-Jun-2011 joerg

Add a few more cases that need GNU as. One of the padlock instructions
is missing in LLVM. spl.S and lock_stubs.S break with patchfunc
otherwise.


Revision tags: cherry-xenmp-base
# 1.171 30-May-2011 joerg

branches: 1.171.2;
Disable -Werror for ah_regdomain.c if building with clang as workaround
for http://llvm.org/bugs/show_bug.cgi?id=10030.


# 1.170 20-May-2011 joerg

Use -x assembler-with-cpp from sys.mk.


# 1.169 20-May-2011 joerg

LLVM's assembler parser doesn't support .code16 yet, so disable it as
needed.


Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base
# 1.168 12-Jan-2011 joerg

branches: 1.168.2;
Allow use of traditional CPP to be set on a per platform base in sys.mk.
Honour this for dependency processing in bsd.dep.mk. Switch i386 and
amd64 assembly to use ISO C90 preprocessor concat and drop the
-traditional-cpp on this platform.


Revision tags: 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.167 06-Jul-2010 mrg

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: uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211
# 1.166 25-Nov-2009 tron

branches: 1.166.2; 1.166.4;
Enable SSP (Stack Smash Protection) in x86 kernels by default (except
in i386 *TINY kernels). The NetBSD/i386 "ALL" kernel is unconditionally
compiled with SSP enabled.

Change approved by the core team.


Revision tags: yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
# 1.165 15-Mar-2009 tsutsui

Make sure to create i386 symlink on more generic targets.


Revision tags: nick-hppapmap-base2
# 1.164 15-Feb-2009 cube

Convert the recently introduced awk command to retrieve the value of the
option MODULAR to using %MODULAR%. While it is now possible to only
request the new version in the affected Makefiles, it is made mandatory for
everybody because I just fixed a bug in config(1) that would not make it
fail in the case of a syntax error in the Makefile template.


# 1.163 14-Feb-2009 apb

Now that "options MODULAR" is handled via defflag, the Makefile
generated by config(1) in the kernel compile directory no longer
contains IDENT=-DMODULAR. Instead, there's an opt_modular.h file that
might or might not contain "#define MODULAR 1".

Adapt to this by adding an OPT_MODULAR variable to relevant Makefiles,
set via an awk script that parses opt_modular.h.


Revision tags: haad-dm-base2 haad-nbase2 haad-dm-base mjf-devfs2-base
# 1.162 11-Dec-2008 alc

branches: 1.162.2;
Clean-up makefile stub used to include in the build the binary HAL object


Revision tags: ad-audiomp2-base
# 1.161 27-Nov-2008 joerg

Another assym.h dependency.


# 1.160 13-Nov-2008 ad

LKM -> MODULAR


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base
# 1.159 26-Oct-2008 mrg

branches: 1.159.2; 1.159.4; 1.159.8;
provide an i386/ symlink.


Revision tags: matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 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 nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.158 25-Jan-2008 joerg

branches: 1.158.6; 1.158.10; 1.158.16;
Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
They call a backend function cpu_in_cksum after possibly
computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
The default implementation is moderate fast on most platforms
and provides a 32bit accumulator with 16bit addends for L32 platforms
and a 64bit accumulator with 32bit addends for L64 platforms.
It handles edge cases like very large mbuf chains (could happen with
native IPv6 in the future) and provides a good base for new native
implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.157 17-Jan-2008 lukem

Remove unnecessary references to config_time.h.


Revision tags: matt-armv6-base
# 1.156 03-Jan-2008 joerg

Missing assym.h dependency.


# 1.155 30-Dec-2007 joerg

i386func.S needs assym.h.


Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2
# 1.154 09-Dec-2007 jmcneill

branches: 1.154.2;
Merge jmcneill-pm branch.


Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 vmlocking-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.153 02-Dec-2007 christos

branches: 1.153.2; 1.153.4;
busfunc needs assym.h too.


Revision tags: jmcneill-base bouyer-xenamd64-base2 bouyer-xenamd64-base
# 1.152 24-Oct-2007 joerg

branches: 1.152.2;
cpufunc.S depends on assym.h.


Revision tags: yamt-x86pmap-base4
# 1.151 17-Oct-2007 garbled

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
# 1.150 30-May-2007 christos

branches: 1.150.8; 1.150.10; 1.150.14;
lock_stubs.S depends on assym.h


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 yamt-idlelwp-base8 wrstuden-fixsa-base thorpej-atomic-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 netbsd-4-base rpaulo-netinet-merge-pcb-base
# 1.149 19-Aug-2006 dsl

branches: 1.149.12; 1.149.14; 1.149.20;
There is no need to compile machdep.c with -O2 anymore.
Fixed by changing the asm for lidt() in cpufunc.h


Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base7
# 1.148 31-Jul-2006 christos

branches: 1.148.2;
mention the correct PR/33725


# 1.147 31-Jul-2006 christos

workaround for PR 33918


# 1.146 04-Jul-2006 christos

Another missed dependency.


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base
# 1.145 07-Jun-2006 kardel

branches: 1.145.2;
convert to timecounters (from branch simonb-timecounters)


Revision tags: yamt-pdpolicy-base5 yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base
# 1.144 04-Apr-2006 gdamore

branches: 1.144.2;
Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.


# 1.143 02-Apr-2006 gdamore

Reorganize ath layout as requested by sam@ and suggested by dyoung@ in
http://mail-index.netbsd.org/tech-net/2006/03/15/0000.html.

The new layout almost precisely matches FreeBSD, and should make
future imports much easier.

At the same time, import the current 0.9.16.16 HAL from FreeBSD. According
to sam@, this is the proper version we should be using.


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.142 11-Dec-2005 christos

branches: 1.142.4; 1.142.6; 1.142.8; 1.142.10; 1.142.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base ktrace-lwp-base
# 1.141 07-Nov-2005 yamt

some assym cleanup.
- move copyin and friends from locore.S to their own file, copy.S.
share it between i386 and xen.
- defparam KERNBASE and kill KERNBASE_LOCORE hack.
- add more symbols to assym.h and use it where appropriate.


Revision tags: yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base
# 1.140 19-Oct-2005 dyoung

No need to create opt_ah.h in these makefiles, config(8) takes care
of it.


Revision tags: yamt-vop-base
# 1.139 22-Jun-2005 dyoung

branches: 1.139.2; 1.139.4;
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.


# 1.138 31-May-2005 christos

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 kent-audio2-base
# 1.137 12-Mar-2005 dsl

Use an archive library for libkern if we don't support LKMs.
Enough to get INSTALL_TINY small enough again.
Someone else can fix it next time...


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.136 15-Jul-2004 atatat

branches: 1.136.4; 1.136.6;
Make uudecode into a tool that can be used to build a kernel and redo
the athhal-elf.o handling to take advantage of it. This means that
bsd.files.mk is no longer included by Makefile.i386 so CFLAGS won't be
duplicated.


# 1.135 04-Jun-2004 thorpej

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


# 1.134 15-Apr-2004 he

We need to also clean out athhal-elf-o, so that "make clean; make"
after an initial "make" will also (re)build athhal-elf.o.


Revision tags: netbsd-2-0-base
# 1.133 25-Mar-2004 jmc

branches: 1.133.2;
Convert athhal-elf.o to a .uue and add appropriate make hooks to use it


# 1.132 05-Jul-2003 simonb

Make mptrap.o depend on assym.h; fixes GENERIC.MP -j N kernel build.


# 1.131 02-May-2003 yamt

branches: 1.131.2;
add spl.S, vector.S and microtime.S to MD_SFILES so that
'make depend' takes care of them.


# 1.130 02-Apr-2003 christos

bioscall.S needs assym.h now.


# 1.129 02-Mar-2003 christos

microtime.S depends on assym.h


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.128 12-Dec-2002 christos

add missing dependency.


# 1.127 26-Nov-2002 thorpej

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


# 1.126 24-Nov-2002 christos

add mach_sigcode.o to the files that depend on assym.h


# 1.125 22-Nov-2002 fvdl

New interrupt code. The basic idea behind it is to hide the differences
in interrupt controllers in struct pic, and try to keep as much
common code as possible. At the lowest (asm) level, this is done
with CPP macros.

The main structure is now struct intrsource, describing an established
interrupt line, of any kind (soft/hard local apic/legacy apic/IO apic).
For quick masking, there may be a maximum of 32 sources per CPU.
Sources can be assigned to any CPU in the MP case, though currently they
all go to the boot CPU.


# 1.124 02-Nov-2002 perry

We don't need our on KERNLINTFLAGS any longer.


Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base sommerfeld_i386mpnext sommerfeld_i386mpbase_1
# 1.123 04-Jun-2002 thorpej

branches: 1.123.2;
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 i386mp_plus16_stable netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
# 1.122 09-Dec-2001 atatat

branches: 1.122.10;
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.121 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.120 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.119 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.118 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.117 23-Oct-2001 thorpej

branches: 1.117.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.116 05-Jun-2001 thorpej

branches: 1.116.2;
Allow the text address to be set with makeoptions.


# 1.115 29-May-2001 mrg

define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.


# 1.114 16-May-2001 lukem

changes to lint invocation:
- sort lint flags
- add flags -F (full pathname), -g (gcc extensions; XXX for now)
- lint CFILES before LINTSTUBS
- don't -Dvolatile=
- don't grep -v 'static function.*unused'


# 1.113 15-May-2001 perry

1) Add infrastructure to generate lint stub files from stylized
comments in .S files.
2) Update "make lint" target to use generated lint stubs.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.112 20-Jan-2001 lukem

branches: 1.112.2;
a few things depend upon assym.h, so add appropriate dependencies.


# 1.111 20-Jan-2001 thorpej

In the ELF case, use the kern.ldscript unless overridden by the kernel
config file.


# 1.110 09-Jan-2001 fvdl

Revert apparently accidental commit.


# 1.109 08-Jan-2001 martin

Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.


# 1.108 17-Dec-2000 jdolecek

delete obsolete comment


# 1.107 07-Sep-2000 thorpej

If KERN_LDSCRIPT is specified as a makeoption, then add it to the
linker flags.


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 sommerfeld_i386mp_houseclean netbsd-1-5-base minoura-xpg4dl-base
# 1.106 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.105 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: sommerfeld_i386mpbase_20000422 chs-ubc2-newbase
# 1.104 11-Feb-2000 thorpej

Move KERNBASE to 0xc0000000, giving the kernel a more-or-less full 1G
of virtual address space, leaving userland with 3G, and update comments
to match the new reality.

We knew we were going to have to bite this bullet eventually, and there
are a couple of outstanding PRs related to this issue (9389 and 9313).
Complete solution to those PRs is going to involve some sort of run-time
decision on how large kmem_map should be, as well as changing some data
structure allocation strategies in UVM. However, this change will at
least allow the PR submitter to simply throw resources at the problem.


# 1.103 01-Feb-2000 tsutsui

Revert STRIPPROG -> STRIP


# 1.102 24-Jan-2000 tron

Add "dependall" target for comfort.


# 1.101 19-Jan-2000 tsutsui

STRIP -> STRIPPROG


# 1.100 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.99 26-Jul-1999 cgd

branches: 1.99.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.98 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: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.97 28-Jan-1999 christos

branches: 1.97.2; 1.97.4;
Add ELF bits. -N does not work, because ld does not compute the correct
memsz.


# 1.96 15-Jan-1999 thorpej

Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.


# 1.95 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.94 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.93 05-Sep-1998 lukem

distclean is a synonym for cleandir


Revision tags: eeh-paddr_t-base
# 1.92 07-Jun-1998 enami

Also, remove space at the end of line.


# 1.91 31-May-1998 thorpej

Specify a non-profiling C rule.


# 1.90 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.89 06-Feb-1998 mrg

add the i386 MD portions for UVM.


# 1.88 12-Nov-1997 thorpej

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


# 1.87 12-Nov-1997 thorpej

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


Revision tags: netbsd-1-3-base
# 1.86 20-Oct-1997 fvdl

branches: 1.86.2;
Move kernel entry address down to f0100000


Revision tags: marc-pcmcia-base
# 1.85 03-Oct-1997 lukem

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


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


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

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


# 1.82 14-Mar-1997 mycroft

Put the genassym.sh output in a temp file, and mv -f it, in case
it fails spectacularly and doesn't clean up. Also, remove dependencies for
genassym.o (since it no longer exists).


Revision tags: is-newarp-before-merge
# 1.81 26-Feb-1997 mycroft

Use genassym.sh, to support cross-compilation.


Revision tags: is-newarp-base
# 1.80 04-Feb-1997 perry

branches: 1.80.4;
Nuke some options GENERIC residue.


# 1.79 04-Feb-1997 perry

Nuke some GENERIC residue.


# 1.78 23-Jan-1997 cgd

update for new kernel library Makefile.inc expectations


# 1.77 01-Dec-1996 jonathan

branches: 1.77.2;
* 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.76 11-Oct-1996 christos

add -Wall -Wstrict-prototypes -Wmissing-prototypes.
We are compiling cleanly now!


# 1.75 13-Sep-1996 jtk

BIOS trampoline is a static beast; generate it in the sources like
syscalls.h & friends, and include it when needed from the source directory.


# 1.74 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.73 31-Aug-1996 mycroft

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


# 1.72 25-Aug-1996 jtk

add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)


# 1.71 12-Aug-1996 mycroft

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


# 1.70 10-Aug-1996 mycroft

Theres no microcode/Makefile.inc now.


# 1.69 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.68 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-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.67 11-May-1996 mycroft

branches: 1.67.4;
Make `make depend' work for libraries.


# 1.66 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.65 26-Feb-1996 mycroft

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


# 1.64 09-Feb-1996 mycroft

Fix mkdep problems due to missing flags.


# 1.63 03-Feb-1996 mycroft

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


# 1.62 02-Feb-1996 mycroft

Clone these, and fix many bugs.


# 1.61 02-Feb-1996 mycroft

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


# 1.60 01-Feb-1996 mycroft

LOCORE -> _LOCORE


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.59 10-Oct-1995 mycroft

Pull in microcode dependencies. Remove -fno-builtin.


# 1.58 19-Sep-1995 thorpej

Compile the kernel with -fno-builtin.


# 1.57 24-Jul-1995 mycroft

Add -Werror.


# 1.56 24-Jun-1995 christos

GENERIC: Add COMPAT_IBCS2 in too by default.
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.55 16-May-1995 jtc

Removing -DKERNEL, transition to _KERNEL has been completed


# 1.54 17-Apr-1995 cgd

clean up several ISA device interfaces: autoconfiguration, header
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...


# 1.53 17-Apr-1995 cgd

allow most program names to be overridden. kill a bogus } in a comment, and
an unnecessary blank line.


# 1.52 23-Mar-1995 jtc

Added -D_KERNEL to CFLAGS alongside each -DKERNEL.


# 1.51 06-Dec-1994 mycroft

Don't ignore the exit status of ld(1).


# 1.50 04-Nov-1994 mycroft

Add `newvers' target.


# 1.49 04-Nov-1994 mycroft

vector.h should have been nuked ages ago.


# 1.48 04-Nov-1994 mycroft

isa.h -> isareg.h


Revision tags: before_newconf_base
# 1.47 28-Oct-1994 mycroft

Add vnode_if.[ch] to the clean target.


# 1.46 27-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.45 15-Jun-1994 mycroft

Allow overriding the name of the awk program. This is a bit different from
how Gordon did it.


# 1.44 15-Jun-1994 deraadt

build vnode_if.* early in a kernel compile


# 1.43 08-Jun-1994 mycroft

Build vnode_if.o.


# 1.42 23-May-1994 mycroft

Clone from hp300 version.


# 1.41 16-Apr-1994 cgd

kill symbols.{raw,sort}; no longer necessary, with kvm dbs.


# 1.40 28-Jan-1994 cgd

kill refs to dbsym, and note that we have a working 'ex' now.


# 1.39 05-Jan-1994 mycroft

LOAD_ADDRESS is now fixed at 0xf8100000.


# 1.38 30-Dec-1993 deraadt

compile genassym -static as suggested by Jim McKim <mckim@lerc.nasa.gov>


# 1.37 18-Dec-1993 mycroft

Clean bogus arguments to newvers, and don't pass KERN_IDENT any more.


# 1.36 15-Dec-1993 deraadt

correct docs


# 1.35 18-Oct-1993 pk

Fixed typo.


# 1.34 17-Oct-1993 pk

Explicit entry point specified in kernel link command.
(so far, we've been lucky only because vers.o doesn't contain text)


# 1.33 13-Oct-1993 cgd

use the new location for libkern, auto-depend on it, and include
the right one, for profiling or non-profiling.


# 1.32 09-Oct-1993 cgd

genassym needs a dependency...


# 1.31 06-Oct-1993 cgd

get rid of excess target line for machdep.o


Revision tags: magnum-base
# 1.30 13-Sep-1993 brezak

Default LOAD_ADDRESS at 0xfe100000 (1M)


# 1.29 11-Sep-1993 jtc

Link with libkern.


# 1.28 29-Aug-1993 brezak

branches: 1.28.2;
Changes for boot loading of symbols.


# 1.27 27-Aug-1993 brezak

Need LOAD_ADDRESS for depend pass.


# 1.26 31-Jul-1993 mycroft

Add RCS indentifiers.


Revision tags: netbsd-0-9-patch-001 netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.25 19-Jul-1993 mycroft

branches: 1.25.2;
Add ${DEBUG} to CFLAGS and -f to dbsym.


# 1.24 18-Jul-1993 mycroft

Phooey. Need a better mechanism for dealing with multiple sets of local
changes.


# 1.23 18-Jul-1993 cgd

CC should be cc. cc is gcc2...


# 1.22 18-Jul-1993 mycroft

Change to work with new config stuff for specifying load address.


# 1.21 18-Jul-1993 mycroft

Oops. Back out a change that shouldn't be committed...


# 1.20 18-Jul-1993 mycroft

Use new -T option to dbsym.


# 1.19 17-Jul-1993 cgd

gcc-2.4.5's ffs() has been rendered safe for kernel compiling...


# 1.18 12-Jul-1993 cgd

add -fno-builtin to CFLAGS until gcc bug fixed


# 1.17 11-Jul-1993 cgd

don't ignore errors from dbsym... it might say that, e.g. there's
not enough symbol space!


# 1.16 18-Jun-1993 brezak

Use NNPX instead of NPX from npx.h for activating npx.


# 1.15 11-Jun-1993 cgd

note gprof.ex is in csu/i386 not csu.i386 like it used to be...


# 1.14 06-Jun-1993 cgd

make conf.o actually depend on conf.c...


# 1.13 06-Jun-1993 cgd

incorporate Bruce Evans' interrupt changes, as hacked by Rod grimes,
for patchkit patch 158. it appears to work well.


# 1.12 24-May-1993 cgd

do the right thing for vers.o. i.e. don't make newvers if nothing
has changed.


# 1.11 18-May-1993 cgd

changes for 'arch'


# 1.10 17-May-1993 cgd

make config use a /sys/${machine}/compile directory, rather than
/sys/compile


# 1.9 07-May-1993 cgd

add rcsid, and kernel description where necessary


# 1.8 29-Apr-1993 cgd

use ed instead of ex. the script to use is identical, and we might
want to switch back to using ex when our ex supports -.


# 1.7 28-Apr-1993 cgd

bsd->netbsd


# 1.6 28-Apr-1993 cgd

new kernel name is bsd


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.5 24-Mar-1993 cgd

now use absolute path for dbsym


# 1.4 23-Mar-1993 cgd

automatically run dbsym on kernel


# 1.3 23-Mar-1993 cgd

added support for microtime routines by Steve McCanne (mccanne@ee.lbl.gov)


Revision tags: patchkit-0-2-2
# 1.2 21-Mar-1993 cgd

after 0.2.2 "stable" patches applied


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision