The NetBSD Project

CVS log for src/sys/conf/Makefile.kern.inc

[BACK] Up to [cvs.NetBSD.org] / src / sys / conf

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.301.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 29 19:43:25 2024 UTC (5 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.301: preferred, colored
Changes since revision 1.301: +2 -2 lines
Implementation of exFAT filesystem, with compilation conditional on MKEXFATFS
make variable.

Revision 1.301: download - view: text, markup, annotated - select for diffs
Mon May 6 08:43:36 2024 UTC (7 months, 1 week ago) by mrg
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, HEAD
Branch point for: perseant-exfatfs
Diff to: previous 1.300: preferred, colored
Changes since revision 1.300: +3 -2 lines
use objcopy's --compress-debug-sections when creating debug files.

this reduces the size of the installed files by over half in most cases,
though the debug set size doesn't really change much (which looks like
close to 1GB of space on amd64 with xdebug installed, similar on arm64,
and about 600MB without xdebug.)

tested by running GDB on a few things, seems just as functional, on amd64,
arm64, and slightly on riscv64.

(first attempt for this feature used "gcc -gz=zlib", but that ends up
making CTF unhappy, but fortunately this works in binutils to create
the .debug files separate to any ctf usage of the main file.)

Revision 1.300: download - view: text, markup, annotated - select for diffs
Sun Jan 14 00:39:10 2024 UTC (10 months, 4 weeks ago) by gutteridge
Branches: MAIN
Diff to: previous 1.299: preferred, colored
Changes since revision 1.299: +2 -2 lines
Makefile.kern.inc: fix grammar in a comment

Revision 1.295.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 11 13:35:37 2023 UTC (15 months ago) by martin
Branches: netbsd-10
CVS tags: 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
Diff to: previous 1.295: preferred, colored; next MAIN 1.296: preferred, colored
Changes since revision 1.295: +18 -5 lines
Pull up following revision(s) (requested by rin in ticket #363):

	sys/arch/aarch64/conf/Makefile.aarch64: revision 1.24
	sys/arch/aarch64/conf/Makefile.aarch64: revision 1.25
	sys/arch/shark/conf/Makefile.shark.inc: revision 1.28
	sys/arch/alpha/conf/Makefile.alpha: revision 1.88
	sys/arch/mips/conf/Makefile.mips: revision 1.73
	sys/conf/Makefile.kern.inc: revision 1.298
	sys/conf/Makefile.kern.inc: revision 1.299
	sys/arch/cats/conf/Makefile.cats.inc: revision 1.37
	sys/arch/arm/conf/Makefile.arm: revision 1.56
	sys/arch/arm/conf/Makefile.arm: revision 1.57
	sys/arch/riscv/conf/Makefile.riscv: revision 1.10

Always use arm-elf2aout; no a.out support both for binutils{,.old}

Fix kernel size inflation for arm and aarch64 (PR toolchain/57146)

For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64.
Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally
skipped, which results in the catastrophic kernel size inflation,
as reported in the PR.

Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of
STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI
kernel build procedure.

For Makefile.{arm,aarch64}, weird logic is used to determine how
to handle debug symbols; MKDEBUG{,KERNEL} are taken into account
later in sys/conf/Makefile.kern.inc.

Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS.
Simplify fix for PR toolchain/57146

Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug
symbols from MD Makefile's to Makefile.kern.inc.

Revision 1.299: download - view: text, markup, annotated - select for diffs
Fri Jul 28 02:41:31 2023 UTC (16 months, 2 weeks ago) by rin
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.298: preferred, colored
Changes since revision 1.298: +16 -6 lines
Simplify fix for PR toolchain/57146

Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug
symbols from MD Makefile's to Makefile.kern.inc.

Revision 1.298: download - view: text, markup, annotated - select for diffs
Wed Jul 26 03:39:55 2023 UTC (16 months, 2 weeks ago) by rin
Branches: MAIN
Diff to: previous 1.297: preferred, colored
Changes since revision 1.297: +6 -3 lines
Fix kernel size inflation for arm and aarch64 (PR toolchain/57146)

For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64.
Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally
skipped, which results in the catastrophic kernel size inflation,
as reported in the PR.

Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of
STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI
kernel build procedure.

XXX
For Makefile.{arm,aarch64}, weird logic is used to determine how
to handle debug symbols; MKDEBUG{,KERNEL} are taken into account
later in sys/conf/Makefile.kern.inc.

Revision 1.297: download - view: text, markup, annotated - select for diffs
Sat Jun 3 21:26:29 2023 UTC (18 months, 1 week ago) by lukem
Branches: MAIN
Diff to: previous 1.296: preferred, colored
Changes since revision 1.296: +3 -3 lines
adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
which works for both clang and gcc, and remove compiler-specific
equivalents.

Revision 1.296: download - view: text, markup, annotated - select for diffs
Sat Jun 3 08:52:58 2023 UTC (18 months, 1 week ago) by lukem
Branches: MAIN
Diff to: previous 1.295: preferred, colored
Changes since revision 1.295: +2 -2 lines
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 1.295: download - view: text, markup, annotated - select for diffs
Sat Aug 27 20:37:49 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.294: preferred, colored
Changes since revision 1.294: +2 -2 lines
sys: document how to run lint on the kernel code (experimental)

Revision 1.294: download - view: text, markup, annotated - select for diffs
Wed Aug 3 09:37:37 2022 UTC (2 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.293: preferred, colored
Changes since revision 1.293: +2 -1 lines
sys: Build kernel with -Wno-type-limits.

The type-limits warning is actively harmful because it discourages
writing safe portable overflow detection logic which happens, on some
architectures, to be dead code.

Revision 1.293: download - view: text, markup, annotated - select for diffs
Thu Jan 6 17:05:32 2022 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.292: preferred, colored
Changes since revision 1.292: +3 -3 lines
Fix for systems that override SYSTEM_LD_TAIL

Revision 1.292: download - view: text, markup, annotated - select for diffs
Tue Jan 4 19:52:02 2022 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.291: preferred, colored
Changes since revision 1.291: +10 -9 lines
use a function "runit" to echo and execute avoiding set -x.

Revision 1.291: download - view: text, markup, annotated - select for diffs
Thu Dec 30 18:53:35 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.290: preferred, colored
Changes since revision 1.290: +13 -13 lines
- With DEBUG=-g (which is also set when we build CTF) we build netbsd.gdb *and*
  netbsd-${KERNEL_CONFIG}.debug because it is not worth having two sets of
  rules (one that builds just netbsd.gdb and one that builds both netbsd.gdb
  and netbsd-${KERNEL_CONFIG}.debug. This maintains compatibility building
  netbsd.gdb when DEBUG=-g
- When either MKDEBUGKERNEL=yes or MKDEBUG=tes we set DEBUG=-g if DEBUG was
  not set.
- We only make a debuginstall rule to install netbsd-${KERNEL_CONFIG}.debug
  if MKDEBUG=yes

Revision 1.290: download - view: text, markup, annotated - select for diffs
Thu Dec 30 17:25:40 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.289: preferred, colored
Changes since revision 1.289: +2 -2 lines
forgot one KERNEL_BUILD (Tobias Nygren)

Revision 1.289: download - view: text, markup, annotated - select for diffs
Thu Dec 30 17:16:32 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.288: preferred, colored
Changes since revision 1.288: +7 -6 lines
Use the tail of KERNEL_BUILD since it can be a full path.

Revision 1.288: download - view: text, markup, annotated - select for diffs
Thu Dec 30 03:24:50 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.287: preferred, colored
Changes since revision 1.287: +2 -1 lines
Add ${_MKTARGET_INSTALL}

Revision 1.287: download - view: text, markup, annotated - select for diffs
Thu Dec 30 03:23:05 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.286: preferred, colored
Changes since revision 1.286: +2 -2 lines
use ${INSTALL_FILE} so that unpriv builds work.

Revision 1.286: download - view: text, markup, annotated - select for diffs
Wed Dec 29 22:22:13 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.285: preferred, colored
Changes since revision 1.285: +24 -7 lines
Enable split-debug files for kernels. Enabled by default with MKDEBUG=yes.

Revision 1.285: download - view: text, markup, annotated - select for diffs
Mon Dec 20 20:33:20 2021 UTC (2 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.284: preferred, colored
Changes since revision 1.284: +3 -3 lines
Rename:
    MKKDEBUG -> MKDEBUGKERNEL
    MKTOOLSDEBUG -> MKDEBUGTOOLS
while keeping compatibility with the old names. Add missing documentation.
Now all debugging tunables are prefixed with MKDEBUG.

Revision 1.284: download - view: text, markup, annotated - select for diffs
Wed Oct 27 03:06:59 2021 UTC (3 years, 1 month ago) by ryo
Branches: MAIN
Diff to: previous 1.283: preferred, colored
Changes since revision 1.283: +2 -2 lines
revert previous: http://mail-index.netbsd.org/source-changes/2021/10/25/msg133295.html

going to add __always_inline to the functions called from _mcount()
discussed on http://mail-index.netbsd.org/source-changes-d/2021/10/25/msg013480.html

Revision 1.283: download - view: text, markup, annotated - select for diffs
Mon Oct 25 07:54:44 2021 UTC (3 years, 1 month ago) by ryo
Branches: MAIN
Diff to: previous 1.282: preferred, colored
Changes since revision 1.282: +3 -3 lines
In some arch, _mcount() would be called recursively when built with COPTS=-O0.

Normally, functions called from mcount.c are expected to be expanded inline,
so _mcount() will never be called recursively. But when build with COPTS=-O0,
`static inline' functions aren't inlined, and _mcount() will be called
recursively.

Even if _mcount() has `__attribute__((__no_ instrument_function__))',
it has no effect on the calling external (no-inlined) function.

To avoid this, PROF.<fn> is added can be set the profiling flag of any file.
"PROF.mcount.c" is set to blank by default, mcount.c itself is compiled
without -pg.

Revision 1.282: download - view: text, markup, annotated - select for diffs
Sat Sep 11 20:28:05 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.281: preferred, colored
Changes since revision 1.281: +3 -3 lines
Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.

Revision 1.280.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:27 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.280: preferred, colored; next MAIN 1.281: preferred, colored
Changes since revision 1.280: +2 -2 lines
Sync w/ HEAD.

Revision 1.280.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 6 20:30:51 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_sun2x
Diff to: previous 1.280: preferred, colored; next MAIN 1.281: preferred, colored
Changes since revision 1.280: +2 -2 lines
sync with head

Revision 1.281: download - view: text, markup, annotated - select for diffs
Wed Jun 2 15:45:28 2021 UTC (3 years, 6 months ago) by nia
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1
Diff to: previous 1.280: preferred, colored
Changes since revision 1.280: +2 -2 lines
drm2: build with -fwrapv, since the Linux kernel does and we don't
want to spend too much time fixing their code. silences a lot of
KUBSAN warnings.

we need to use COPTS to have per-option compiler flags. help from
Riastradh.

Revision 1.277.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:17 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.277: preferred, colored; next MAIN 1.278: preferred, colored
Changes since revision 1.277: +1 -1 lines
Sync with HEAD.

Revision 1.280: download - view: text, markup, annotated - select for diffs
Tue Apr 6 15:05:12 2021 UTC (3 years, 8 months ago) by simonb
Branches: MAIN
CVS tags: thorpej-cfargs-base, cjep_sun2x-base, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf, cjep_sun2x
Diff to: previous 1.279: preferred, colored
Changes since revision 1.279: +7 -7 lines
Revert rev 1.278 which tried to call ctfmerge only once - this has
caused kernels with embedded symbol tables to explode in size.

Revision 1.279: download - view: text, markup, annotated - select for diffs
Mon Apr 5 22:52:03 2021 UTC (3 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.278: preferred, colored
Changes since revision 1.278: +2 -2 lines
Don't use /usr/bin/time (it is not portable)

Revision 1.278: download - view: text, markup, annotated - select for diffs
Mon Apr 5 06:22:00 2021 UTC (3 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.277: preferred, colored
Changes since revision 1.277: +7 -7 lines
Move the ctfmerge call from SYSTEM_LD_TAIL (used by both STAGE1 and STAGE2)
to SYSTEM_LD_TAIL_STAGE2 only.  ctfmerge is slow enough that just calling
it once is enough.

Revision 1.276.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:42 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.276: preferred, colored; next MAIN 1.277: preferred, colored
Changes since revision 1.276: +3 -3 lines
Sync with HEAD.

Revision 1.277: download - view: text, markup, annotated - select for diffs
Sun Jan 31 23:17:21 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.276: preferred, colored
Changes since revision 1.276: +3 -3 lines
sys/conf: remove useless dollars from Makefile.kern.inc

When parsing a variable modifier such as :C or :S, all '$' but the very
last are silently swallowed.

See usr.bin/make/unit-tests/varmod-subst.mk for details.

Since August 2020, make has a strict lint mode that is activated by
passing it the option -dL.  In that mode, these redundant '$' are not
accepted anymore.

Revision 1.276: download - view: text, markup, annotated - select for diffs
Sun Sep 6 07:20:29 2020 UTC (4 years, 3 months ago) by mrg
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.275: preferred, colored
Changes since revision 1.275: +2 -1 lines
add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.

Revision 1.275: download - view: text, markup, annotated - select for diffs
Wed Jul 22 19:37:59 2020 UTC (4 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.274: preferred, colored
Changes since revision 1.274: +3 -1 lines
enable -Walloca, warn if something uses alloca()

Revision 1.274: download - view: text, markup, annotated - select for diffs
Thu Jun 25 14:52:26 2020 UTC (4 years, 5 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.273: preferred, colored
Changes since revision 1.273: +2 -2 lines
enable gcc stack usage limit for kernel functions, set to 3.5 KiB for now
as that seems to be enough to accomodate the current biggest stack usages

there are about six functions which use over 3KiB local stack, and
about a dozen between 2-3 KiB, so pushing this further needs more work
if desired

compile tested on amd64, i386, sparc64, sparc, powerpc (evbppc - BookE),
m68k (mac68k)

Revision 1.273: download - view: text, markup, annotated - select for diffs
Fri Jun 19 00:58:17 2020 UTC (4 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.272: preferred, colored
Changes since revision 1.272: +2 -2 lines
Use -fstack-usage only if we are using gcc.

Pointed out by maxv@

Revision 1.272: download - view: text, markup, annotated - select for diffs
Thu Jun 18 11:50:44 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.271: preferred, colored
Changes since revision 1.271: +4 -1 lines
Discard -fstack-usage for vax, for which GCC does not support that option
at the moment.

Revision 1.271: download - view: text, markup, annotated - select for diffs
Wed Jun 17 02:40:43 2020 UTC (4 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.270: preferred, colored
Changes since revision 1.270: +6 -3 lines
Add -fstack-usage to kernel builds. Produces .su files that can be
analysed to find large stack users.

Revision 1.270: download - view: text, markup, annotated - select for diffs
Thu May 21 18:44:19 2020 UTC (4 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.269: preferred, colored
Changes since revision 1.269: +4 -4 lines
Do the chmod last so that the kernels get consistent permissions for MKREPRO
Reported by wiz@.

Revision 1.264.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:01 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.264.4.1: preferred, colored; branchpoint 1.264: preferred, colored; next MAIN 1.265: preferred, colored
Changes since revision 1.264.4.1: +11 -1 lines
Merge changes from current as of 20200406

Revision 1.269: download - view: text, markup, annotated - select for diffs
Sat Apr 4 19:50:54 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.268: preferred, colored
Changes since revision 1.268: +11 -1 lines
Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules.  This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.

Revision 1.264.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +12 -15 lines
Sync with HEAD

Revision 1.268: download - view: text, markup, annotated - select for diffs
Tue Feb 5 08:33:25 2019 UTC (5 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.267: preferred, colored
Changes since revision 1.267: +2 -1 lines
pass -Wno-error=implicit-fallthrough for zlib.c.

XXX: consider using copts.mk for various warning/copt flags passed
in kernel builds currently set via 'makeoptions' in files.* files.
this is suboptimal, as those all get embedded into the kernel with
config_file.h.

Revision 1.267: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:41 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +3 -13 lines
Merge the [pgoyette-compat] branch

Revision 1.264.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:49 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.264.2.2: preferred, colored; branchpoint 1.264: preferred, colored; next MAIN 1.265: preferred, colored
Changes since revision 1.264.2.2: +3 -3 lines
Ssync with HEAD

Revision 1.266: download - view: text, markup, annotated - select for diffs
Sat Sep 22 12:24:04 2018 UTC (6 years, 2 months ago) by rin
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Diff to: previous 1.265: preferred, colored
Changes since revision 1.265: +3 -3 lines
- 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 1.264.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:47 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.264.2.1: preferred, colored; branchpoint 1.264: preferred, colored
Changes since revision 1.264.2.1: +7 -1 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.265: download - view: text, markup, annotated - select for diffs
Mon Aug 27 05:35:22 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +7 -1 lines
Add CFLAGS, CPPFLAGS, and CWARNFLAGS from options to .c files.

Revision 1.264.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 6 05:40:32 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +3 -13 lines
No longer build the libcompat.o which ends up including most of the
compat_netbsd code without creating the module entry that other
modules are depending on, which in turn causes the modules to fail
to load because of redefined symbols.

Revision 1.264: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:47:14 2018 UTC (6 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, 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
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.263: preferred, colored
Changes since revision 1.263: +2 -2 lines
Restrict -fno-delete-null-pointer-checks to GCC.

Revision 1.263: download - view: text, markup, annotated - select for diffs
Tue Feb 13 09:50:35 2018 UTC (6 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.262: preferred, colored
Changes since revision 1.262: +2 -1 lines
use -fno-delete-null-pointer-checks for kernels.

Revision 1.262: download - view: text, markup, annotated - select for diffs
Mon Jan 22 17:38:46 2018 UTC (6 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.261: preferred, colored
Changes since revision 1.261: +3 -1 lines
- Coverity does not like -std=gnu99
- Another lose is that you need to manually edit the compiler XML to add
  all the kernel options because cov-configure barfs because it tries to
  test the compilation environment thinking that we are userland even
  when options like -ffreestanding are present.

Revision 1.261: download - view: text, markup, annotated - select for diffs
Mon Dec 4 09:44:33 2017 UTC (7 years ago) by martin
Branches: MAIN
Diff to: previous 1.260: preferred, colored
Changes since revision 1.260: +3 -1 lines
We use .BEGIN for our own cleanup and won't ever need DTS support - so
avoid inclusion of dts.mk by defining _SKIP_DTS

Revision 1.158.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:57 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.158.2.2: preferred, colored; branchpoint 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158.2.2: +235 -287 lines
update from HEAD

Revision 1.183.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:00 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.183.2.5: preferred, colored; branchpoint 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183.2.5: +2 -1 lines
Sync with HEAD

Revision 1.256.8.3: download - view: text, markup, annotated - select for diffs
Tue Jul 25 01:58:09 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.256.8.2: preferred, colored; branchpoint 1.256: preferred, colored; next MAIN 1.257: preferred, colored
Changes since revision 1.256.8.2: +2 -22 lines
Pull up following revision(s) (requested by jmcneill in ticket #141):
	sys/conf/dts.mk: 1.1-1.2
	sys/conf/Makefile.kern.inc: revision 1.260
Move the dts rule to a separate file and add dependencies handling.
--
do dts depend processing in two passes, one for /include/ and one for #include

Revision 1.256.8.2: download - view: text, markup, annotated - select for diffs
Mon Jul 24 06:20:33 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.256.8.1: preferred, colored; branchpoint 1.256: preferred, colored
Changes since revision 1.256.8.1: +6 -5 lines
Pull up following revision(s) (requested by jmcneill in ticket #128):
	sys/conf/Makefile.kern.inc: revision 1.259
	sys/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts: revision 1.1
	sys/arch/arm/dts/sun8i-h3.dtsi: revision 1.1
	sys/arch/arm/dts/sun8i-h3-nanopi-neo.dts: revision 1.1
Add support for dts files outside of external/gpl2.
--
Add local patches to sun8i-h3-orangepi-plus2e and sun8i-h3-nanopi-neo to
enable ethernet support.

Revision 1.256.8.1: download - view: text, markup, annotated - select for diffs
Tue Jul 18 19:13:09 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.256: preferred, colored
Changes since revision 1.256: +21 -1 lines
Pull up following revision(s) (requested by jmcneill in ticket #114):
	sys/arch/arm/samsung/exynos_intr.h: revision 1.3
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.66
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7
	sys/dev/gpio/gpio.c: revision 1.59
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1
	sys/conf/Makefile.kern.inc: revision 1.257
	sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2
	sys/conf/Makefile.kern.inc: revision 1.258
	sys/arch/arm/fdt/psci_fdt.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1
	sys/arch/evbarm/conf/files.sunxi: revision 1.1
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9
	sys/arch/arm/samsung/files.exynos: revision 1.22
	distrib/utils/embedded/conf/armv7.conf: revision 1.13
	sys/arch/arm/samsung/files.exynos: revision 1.23
	sys/arch/evbarm/conf/std.tegra: revision 1.15
	distrib/utils/embedded/conf/armv7.conf: revision 1.14
	sys/arch/arm/samsung/files.exynos: revision 1.24
	distrib/utils/embedded/conf/armv7.conf: revision 1.15
	sys/arch/evbarm/sunxi/genassym.cf: revision 1.1
	sys/arch/arm/samsung/exynos_fdt.c: file removal
	sys/dev/fdt/fdt_pinctrl.c: revision 1.4
	sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1
	sys/dev/usb/ehci.c: revision 1.255
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.11
	sys/arch/arm/cortex/gic.c: revision 1.24
	distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17
	etc/etc.evbarm/Makefile.inc: revision 1.87
	etc/etc.evbarm/Makefile.inc: revision 1.88
	sys/arch/arm/fdt/gic_fdt.c: revision 1.5
	etc/Makefile: revision 1.429
	sys/arch/arm/fdt/gic_fdt.c: revision 1.6
	sys/arch/arm/fdt/gic_fdt.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2
	sys/arch/evbarm/conf/std.sunxi: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3
	sys/arch/evbarm/conf/std.sunxi: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4
	sys/arch/evbarm/conf/std.sunxi: revision 1.3
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1
	sys/dev/gpio/gpiovar.h: revision 1.17
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.12
	sys/dev/fdt/fdtvar.h: revision 1.21
	sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.13
	sys/dev/fdt/fdtvar.h: revision 1.22
	sys/arch/evbarm/conf/SUNXI: revision 1.10
	sys/dev/fdt/fdtvar.h: revision 1.23
	sys/arch/evbarm/conf/SUNXI: revision 1.11
	sys/dev/fdt/gpioleds.c: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.24
	sys/arch/evbarm/conf/SUNXI: revision 1.12
	sys/arch/evbarm/conf/SUNXI: revision 1.13
	sys/arch/arm/cortex/gic.c: revision 1.30
	sys/arch/evbarm/conf/SUNXI: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.16
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1
	etc/Makefile: revision 1.430
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2
	etc/Makefile: revision 1.431
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_platform.c: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.29
	sys/arch/arm/samsung/exynos_platform.c: revision 1.2
	sys/arch/evbarm/conf/mk.vexpress: revision 1.3
	sys/arch/arm/samsung/exynos_platform.c: revision 1.3
	sys/arch/evbarm/conf/mk.vexpress: revision 1.4
	sys/arch/arm/samsung/exynos_platform.c: revision 1.4
	sys/arch/arm/arm/psci.h: revision 1.1
	sys/arch/arm/samsung/exynos_platform.c: revision 1.5
	sys/arch/arm/samsung/exynos_platform.c: revision 1.6
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10
	external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12
	sys/dev/fdt/files.fdt: revision 1.17
	sys/dev/fdt/files.fdt: revision 1.18
	sys/dev/fdt/files.fdt: revision 1.19
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.9
	sys/arch/arm/conf/files.arm: revision 1.133
	sys/arch/arm/samsung/mct_var.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2
	sys/arch/evbarm/conf/std.vexpress: revision 1.6
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.30
	sys/arch/arm/sunxi/files.sunxi: revision 1.2
	sys/dev/ofw/openfirm.h: revision 1.35
	sys/arch/arm/sunxi/files.sunxi: revision 1.3
	sys/dev/ofw/openfirm.h: revision 1.36
	sys/arch/arm/sunxi/files.sunxi: revision 1.4
	sys/arch/arm/sunxi/files.sunxi: revision 1.5
	sys/arch/evbarm/exynos/exynos_machdep.c: file removal
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1
	sys/arch/arm/samsung/sscom.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.6
	sys/dev/fdt/ohci_fdt.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.7
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.8
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.9
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.10
	sys/arch/evbarm/conf/mk.tegra: revision 1.5
	sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4
	sys/arch/evbarm/conf/mk.tegra: revision 1.6
	sys/arch/evbarm/conf/EXYNOS: revision 1.15
	sys/arch/evbarm/conf/EXYNOS: revision 1.16
	sys/arch/evbarm/conf/EXYNOS: revision 1.17
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.19
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1
	sys/arch/evbarm/conf/mk.sunxi: revision 1.1
	sys/arch/evbarm/include/bootconfig.h: revision 1.7
	sys/arch/evbarm/conf/TEGRA: revision 1.24
	sys/arch/arm/arm/psci.c: revision 1.1
	sys/dev/led.c: revision 1.1
	sys/dev/led.c: revision 1.2
	sys/arch/arm/arm/psci_arm.S: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2
	sys/dev/fdt/ehci_fdt.c: revision 1.1
	sys/dev/fdt/ehci_fdt.c: revision 1.2
	sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.21
	sys/arch/arm/sunxi/files.sunxi: revision 1.10
	sys/arch/arm/sunxi/files.sunxi: revision 1.11
	sys/dev/fdt/fdtbus.c: revision 1.14
	sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1
	sys/arch/arm/samsung/exynos5422_dma.c: file removal
	usr.bin/config/mkmakefile.c: revision 1.69
	sys/conf/files: revision 1.1178
	sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1
	sys/arch/evbarm/exynos/exynos_start.S: revision 1.4
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2
	sys/arch/evbarm/conf/SUNXI: revision 1.1
	external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.2
	sys/arch/arm/fdt/psci_fdt.c: revision 1.1
	sys/arch/evbarm/conf/SUNXI: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.4
	sys/arch/evbarm/conf/files.exynos: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.6
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1
	sys/dev/fdt/fixedfactorclock.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3
	sys/dev/ic/dwc_mmc_reg.h: revision 1.6
	sys/dev/fdt/fdt_subr.c: revision 1.16
	sys/arch/evbarm/conf/SUNXI: revision 1.9
	usr.bin/config/mkmakefile.c: revision 1.70
	sys/dev/fdt/fdt_phy.c: revision 1.1
	sys/arch/evbarm/conf/ODROID-XU: file removal
	sys/arch/arm/fdt/arm_fdt.c: revision 1.4
	sys/arch/arm/samsung/exynos_reg.h: revision 1.14
	sys/conf/files: revision 1.1180
	sys/arch/arm/samsung/exynos_reg.h: revision 1.15
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6
	sys/dev/ic/dwc_mmc_var.h: revision 1.6
	sys/arch/arm/samsung/exynos_combiner.c: revision 1.7
	sys/arch/evbarm/exynos/platform.h: revision 1.2
	sys/arch/arm/fdt/files.fdt: revision 1.12
	sys/arch/evbarm/conf/std.exynos: revision 1.2
	sys/arch/evbarm/conf/std.exynos: revision 1.3
	sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.1
	sys/dev/led.h: revision 1.1
	sys/arch/evbarm/conf/std.exynos: revision 1.5
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.2
	sys/arch/evbarm/conf/files.evbarm: revision 1.26
	usr.bin/config/defs.h: revision 1.99
	sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6
	sys/arch/arm/samsung/exynos_soc.c: revision 1.32
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2
	sys/arch/arm/samsung/mct.c: revision 1.11
	sys/arch/evbarm/conf/ODROID-U: file removal
	sys/arch/arm/samsung/mct.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4
Get the EXYNOS kernel building again with recent FDT changes. Untested.
Use arm_fdt_cpu_hatch and add mmu entry for DTB
Fix exynos5 devmap, bootstrap, and implement early_putchar.
Calculate UART frequency based on bootloader config.
Fix KERNEL_BASE_PHYS (how did this ever work?)
Avoid divide-by-zero for unconfigured PLLs
Correctly initialize i2cbus attach args.
Add delay and enable mct timecounter.
Fix build w/o VERBOSE_INIT_ARM
Remove ODROID-U and ODROID-XU kernel configs as they no longer work.
- Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
Use fdtbus_intr_establish to hook in block interrupts instead of
intr_establish.
Simplify MCT; just enable it and then attach an ARMv7 generic timer.
Add support for building DTB files during kernel build, from christos.
build vexpress-v2p-ca15-tc1.dtb with the kernel
build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel
Allow multiline makeoptions to work by quoting the newline..
Bump for quoting makeoptions with multiple lines.
un-c99
bump required config version for multiline makeoptions feature
Set DTS makeoption in kernel config
Assign DTB files to a variable so we can make -V DTB
put the dtb files with their kernels.
no need for debug printing.
Don't assume that CPU index = GIC CPU interface number. We can determine
the current CPU interface number by reading from the read-only
GICD_ITARGETSR0 through GICD_ITARGETSR7 registers.
This gets interrupts working on Exynos 5422, where the boot processor has
GIC CPU interface #4.
use -v to get the expanded variable.
Use -v to get the expanded variables.
Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach.
Fix PLL con0 register locations and add uart clocks
Disable exyortc for now, it doesn't work.
More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support.
Update for new dwc_mmc driver
Fix dmesg
Add Exynos 5410 clock controller driver.
Fix a few typos in clock parent names for mmc clocks.
From jmcneill@
Update for new dwc_mmc driver
Implement platform reset for exynos5
Attach fdtbus to a /clocks node with no compatible string.
Add support for ARM Power State Coordination Interface (PSCI).
Support interrupt sharing.
Add initial support for Allwinner H3 SoC.
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.
Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
Add H3 MMC support
SD/MMC clock fixes
Add FDT PHY interface.
Add glue for generic ehci/ohci bindings.
Rename a variable, NFC.
Support parents in different clock domains.
Add USB stuff. Doesn't quite work yet.
Synopsys DesignWare APB UART needs "options COM_AWIN" for now.
Add i2c glue.
Add RTC driver.
PHY registers start at index 1. Now USB works.
Don't allow sharing edge and level triggered interrupts.
Add arm_fdt_memory_dump helper for dumping physical addresses from ddb
Print clocks with aprint_debug
Remove unused defines
Add fdtbus_get_string helper
Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
Fix dmesg
Add basic support for Allwinner A31.
Add basic FDT GPIO support.
Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.
Enable sunxi pinctrl support
Adjust to new pinctrl API
Add P2WI/RSB driver, based on awin_p2wi.c.
Fix typo in a compat string.
Configure pin defaults at attach
No need to explicitly set pinctrl config 0 now
Fix some register definitions.
Disallow sharing between MPSAFE and non-MPSAFE handlers.
Add of_match_compat_data.
This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.
Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Attach gpio(4) to sunxigpio
Test for kernel build directory before reading DTB list
Add support for Allwinner A83T SoC.
Add A83T files
Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.
Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac
Restore TX_INTERVAL_DEFAULT to 64
Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.
Write back the data value instead of mask in sunxi_gpio_write
Add a helper for exposing LED controls via sysctl.
Add GPIO LED driver.
add gpioleds
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.
Add fdtbus_get_string_index helper.
Add driver for fixed-factor clocks.
Add ffclock
Remove the requirement for ehci to attach after companion devices.
"go for it" - skrll@
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.
Remove pass numbers for ehci/ohci now that the attach order no longer matters
Use unsigned char for ctype functions, suggested by christos
Add : to body of populate_sunxi to appease bash.
port-evbarm/52388: Fix number of args to a debug printf.

Revision 1.260.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 15 15:20:53 2017 UTC (7 years, 5 months ago) by christos
Branches: perseant-stdc-iso10646
Diff to: previous 1.260.2.1: preferred, colored; branchpoint 1.260: preferred, colored; next MAIN 1.261: preferred, colored
Changes since revision 1.260.2.1: +540 -0 lines
2814968

Revision 1.260.2.1
Sat Jul 15 15:20:52 2017 UTC (7 years, 5 months ago) by christos
Branches: perseant-stdc-iso10646
FILE REMOVED
Changes since revision 1.260: +0 -540 lines
file Makefile.kern.inc was added on branch perseant-stdc-iso10646 on 2017-07-15 15:20:53 +0000

Revision 1.260: download - view: text, markup, annotated - select for diffs
Sat Jul 15 15:20:52 2017 UTC (7 years, 5 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, nick-nhusb-base-20170825
Branch point for: perseant-stdc-iso10646
Diff to: previous 1.259: preferred, colored
Changes since revision 1.259: +2 -22 lines
Move the dts rule to a separate file and add dependencies handling.

Revision 1.259: download - view: text, markup, annotated - select for diffs
Thu Jul 13 01:17:03 2017 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.258: preferred, colored
Changes since revision 1.258: +6 -5 lines
Add support for dts files outside of external/gpl2.

Revision 1.258: download - view: text, markup, annotated - select for diffs
Sat Jun 17 17:08:49 2017 UTC (7 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.257: preferred, colored
Changes since revision 1.257: +3 -2 lines
Assign DTB files to a variable so we can make -V DTB

Revision 1.257: download - view: text, markup, annotated - select for diffs
Thu Jun 15 21:41:01 2017 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.256: preferred, colored
Changes since revision 1.256: +20 -1 lines
Add support for building DTB files during kernel build, from christos.

Revision 1.250.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:26 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.250.2.1: preferred, colored; branchpoint 1.250: preferred, colored; next MAIN 1.251: preferred, colored
Changes since revision 1.250.2.1: +3 -2 lines
Sync with HEAD

Revision 1.183.2.5: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:26 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.183.2.4: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.2.4: +11 -4 lines
Sync with HEAD

Revision 1.256: download - view: text, markup, annotated - select for diffs
Wed Jan 11 12:19:43 2017 UTC (7 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +3 -2 lines
Disable a couple of warnings until further investigation.

Revision 1.255: download - view: text, markup, annotated - select for diffs
Sun Jan 8 17:10:35 2017 UTC (7 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.254: preferred, colored
Changes since revision 1.254: +1 -4 lines
Move to ssp.c suggested by uebayasi@

Revision 1.254: download - view: text, markup, annotated - select for diffs
Sun Jan 8 05:02:08 2017 UTC (7 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.253: preferred, colored
Changes since revision 1.253: +4 -1 lines
Add COPTS for xhci.c, since the do_command_locked causes a spurious stack
proector warning.

Revision 1.250.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:30 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +9 -3 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.253: download - view: text, markup, annotated - select for diffs
Wed Jan 4 21:37:46 2017 UTC (7 years, 11 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20170107
Diff to: previous 1.252: preferred, colored
Changes since revision 1.252: +9 -3 lines
Collect a list of kernel swap files to be removed (Yorick Hardy)

Revision 1.252: download - view: text, markup, annotated - select for diffs
Wed Jan 4 19:55:06 2017 UTC (7 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.251: preferred, colored
Changes since revision 1.251: +3 -3 lines
match the M* and N* targets.

Revision 1.251: download - view: text, markup, annotated - select for diffs
Wed Jan 4 15:43:04 2017 UTC (7 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +3 -3 lines
PR/51772: Yorick Hardy: Don't hard-code "netbsd", use ${.TARGET} consistently.

Revision 1.183.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:12 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.183.2.3: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.2.3: +9 -9 lines
Sync with HEAD

Revision 1.250: download - view: text, markup, annotated - select for diffs
Sat Apr 9 18:51:44 2016 UTC (8 years, 8 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.249: preferred, colored
Changes since revision 1.249: +9 -9 lines
Use && to fail early if subcommands of kernel link fail.

(Remind me why we string together shell commands instead of just
using make targets?)

Revision 1.183.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:48 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.183.2.2: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.2.2: +15 -15 lines
Sync with HEAD (as of 26th Dec)

Revision 1.249: download - view: text, markup, annotated - select for diffs
Fri Nov 27 20:59:47 2015 UTC (9 years ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226
Diff to: previous 1.248: preferred, colored
Changes since revision 1.248: +3 -3 lines
use commands() instead of target() because assym.mk creates all the targets
unconditionally.

Revision 1.248: download - view: text, markup, annotated - select for diffs
Fri Nov 27 20:33:55 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.247: preferred, colored
Changes since revision 1.247: +13 -13 lines
PR/50483: David A. Holland: fix building of assym.d:

	1. use += to add to DEPS
	2. move inclusion of rules mk. files before the rules are defined
	   so that variables are set.

Now we get on amd64:

	mkdep: ignoring acpi_wakeup_low.d: No such file or directory
	mkdep: ignoring amd64func.d: No such file or directory
	mkdep: ignoring busfunc.d: No such file or directory
	mkdep: ignoring copy.d: No such file or directory
	mkdep: ignoring cpu_in_cksum.d: No such file or directory
	mkdep: ignoring cpufunc.d: No such file or directory

because there are no rules to generate those, but it is harmless.

Revision 1.183.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:56 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.183.2.1: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.2.1: +188 -244 lines
Sync with HEAD

Revision 1.247: download - view: text, markup, annotated - select for diffs
Tue Sep 15 02:22:43 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.246: preferred, colored
Changes since revision 1.246: +1 -1 lines
Clean up splash image build.  Print messages when creating files.

Revision 1.246: download - view: text, markup, annotated - select for diffs
Fri Sep 11 01:40:52 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.245: preferred, colored
Changes since revision 1.245: +1 -1 lines
Indent.

Revision 1.245: download - view: text, markup, annotated - select for diffs
Thu Sep 10 13:11:39 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +1 -1 lines
Fix dependency of *.d -> assym.h in `-S' mode.

Revision 1.244: download - view: text, markup, annotated - select for diffs
Mon Sep 7 15:55:06 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +14 -18 lines
Preserve the order of files in ${ALLFILES} -> ${OBJS} conversion.

Revision 1.243: download - view: text, markup, annotated - select for diffs
Sun Sep 6 15:20:59 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.242: preferred, colored
Changes since revision 1.242: +2 -2 lines
More build ordering.

Revision 1.242: download - view: text, markup, annotated - select for diffs
Sun Sep 6 14:35:01 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +2 -2 lines
Don't pass ``-DCOPY_SYMTAB'' to ${CC}; it's replaced with opt_copy_symtab.h.

Revision 1.241: download - view: text, markup, annotated - select for diffs
Sun Sep 6 06:41:14 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +1 -18 lines
Move ldscript related code out of Makefile.kern.inc.

Revision 1.240: download - view: text, markup, annotated - select for diffs
Sun Sep 6 06:13:16 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +5 -47 lines
Clean up.  Move assym.h/vers.c related code out of Makefile.kern.inc.

Revision 1.239: download - view: text, markup, annotated - select for diffs
Sun Sep 6 04:42:06 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +10 -28 lines
Clean up.  Move SSP-specific adjustment out of Makefile.kern.inc.

Revision 1.238: download - view: text, markup, annotated - select for diffs
Sun Sep 6 02:05:11 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +2 -1 lines
Allow MD to link libraries.  Build rules are written in MD makefiles until
config(1) will support library properly.

Revision 1.237: download - view: text, markup, annotated - select for diffs
Fri Sep 4 06:10:47 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +4 -1 lines
Make config(1) output only ${ALLFILES}, selected input files, and pass it to
Makefile.kern.inc, where files are filtered by suffix.

Revision 1.236: download - view: text, markup, annotated - select for diffs
Thu Sep 3 14:23:52 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +2 -6 lines
Add generated *.c files (devsw.c and ioconf.c) to ${CFILES} by config(1)
internally.  ${MI_CFILES} in Makefile.kern.inc is no longer needed.

Revision 1.235: download - view: text, markup, annotated - select for diffs
Thu Sep 3 12:31:16 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +11 -4 lines
Prepare for relative ${MD_OBJS}.

Revision 1.234: download - view: text, markup, annotated - select for diffs
Thu Sep 3 09:28:00 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +4 -1 lines
Move `all' target definition to Makefile.kern.inc.

Revision 1.233: download - view: text, markup, annotated - select for diffs
Thu Sep 3 06:24:15 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +1 -1 lines
Kernel depends on swap<kernel>.o too.

Revision 1.232: download - view: text, markup, annotated - select for diffs
Thu Sep 3 06:10:53 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +2 -2 lines
Sort dependendy to keep alphabetical build order.

Revision 1.231: download - view: text, markup, annotated - select for diffs
Thu Sep 3 06:09:46 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +4 -0 lines
Define kernel dependency in Makefile.kern.inc.

Revision 1.230: download - view: text, markup, annotated - select for diffs
Thu Sep 3 04:17:55 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +56 -23 lines
Rename ${COMPILE.c} to ${KCOMPILE.c} to avoid potential conflicts with those
in sys.mk.  Define .go/.po suffix rules.

Revision 1.229: download - view: text, markup, annotated - select for diffs
Thu Sep 3 03:47:25 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +12 -12 lines
Refactor.

Revision 1.228: download - view: text, markup, annotated - select for diffs
Thu Sep 3 01:40:06 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +6 -3 lines
Simplify.  Wrap long lines.

Revision 1.227: download - view: text, markup, annotated - select for diffs
Thu Sep 3 01:30:18 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +0 -4 lines
Stop ordering objects alphabetically now that I am sure I can fix fallouts.

Revision 1.226: download - view: text, markup, annotated - select for diffs
Thu Sep 3 01:09:38 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +1 -11 lines
Build conf/param.c normally.

Revision 1.225: download - view: text, markup, annotated - select for diffs
Wed Sep 2 23:03:41 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +1 -1 lines
Fix link of kernels whose name don't start with "netbsd*".

Revision 1.224: download - view: text, markup, annotated - select for diffs
Wed Sep 2 15:35:52 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +5 -1 lines
Build param.c under conf/ using suffix rules in `-S' mode.

Revision 1.223: download - view: text, markup, annotated - select for diffs
Wed Sep 2 15:29:23 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +13 -15 lines
Clean up `swap<kernel>.o' handling.

Revision 1.222: download - view: text, markup, annotated - select for diffs
Wed Sep 2 14:17:03 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +20 -1 lines
Define ${OBJS} in `Makefile.kern.inc'.  Relative paths are not truncated
(a/b/c/x.c -> x.c) in `-S' mode.  Don't provide some explicit rules for `-S'
mode for safety.

Revision 1.221: download - view: text, markup, annotated - select for diffs
Wed Sep 2 13:42:14 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +19 -16 lines
Output relative path for ${CFILES} and ${SFILES} in generated `Makefile'.
`Makefile.kern.inc' knows how to deal with $S prefix, so don't bother it in
config(1).

Revision 1.220: download - view: text, markup, annotated - select for diffs
Wed Sep 2 12:38:48 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +2 -14 lines
Add swap<kernel>.o to common ${SYSTEM_LD} as it is always linked.

Revision 1.219: download - view: text, markup, annotated - select for diffs
Wed Sep 2 03:22:41 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +12 -11 lines
Clean up some rules and make them less error prone.

Revision 1.218: download - view: text, markup, annotated - select for diffs
Tue Sep 1 23:04:35 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +44 -28 lines
Define suffix rules at the end to override system definitions.  Provide them
only if ___USE_SUFFIX_RULES___ is defined (config -S).

Revision 1.217: download - view: text, markup, annotated - select for diffs
Tue Sep 1 16:04:04 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +18 -2 lines
Experimental suffix-rules build (disabled by default).

Revision 1.216: download - view: text, markup, annotated - select for diffs
Sun Aug 30 21:16:10 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +3 -3 lines
Fix "Define compile rules in sys/conf/Makefile.kern.inc ...".

Use `.if !commands(xxx)' to check if `xxx' has a defined, overriden rule,
instead of `.if !targets(xxx)'.  The latter evaluates as true even when `xxx'
has an empty rule to define a dependency.

Revision 1.215: download - view: text, markup, annotated - select for diffs
Sun Aug 30 14:06:17 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +0 -3 lines
A makeoptions `DEFWARNINGS', forcibly disabling all ${CC} warnings, is only
used by hpcmips's NULLCONF, which doesn't even build for other causes.

If some source doen't build and needs a workaround, that should be deal with
by modifying per-file ${CC} options (e.g. COPTS.foo.c+=-fno-xxx).  Let's not
use DEFWARNINGS any longer.

Revision 1.214: download - view: text, markup, annotated - select for diffs
Sun Aug 30 07:33:53 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +2 -7 lines
Move splash logic, keep Makefile.kern.inc clean.

Revision 1.213: download - view: text, markup, annotated - select for diffs
Sun Aug 30 05:24:04 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +2 -1 lines
Put back MEMORY_DISK_IMAGE logic, but use generated opt_memory_root_image.h
and don't polute Makefile.kern.inc.

Revision 1.212: download - view: text, markup, annotated - select for diffs
Sun Aug 30 05:12:00 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +14 -0 lines
Define compile rules in sys/conf/Makefile.kern.inc except those overriden by
"file ... compile-with ...".  As rules are still explicit, be careful to not
override by checking .if !target(xxx.o).

Revision 1.211: download - view: text, markup, annotated - select for diffs
Sun Aug 30 01:46:02 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +0 -9 lines
Use makeoptions_COPY_SYMTAB via opt_copy_symtab.h in sources.  Remove a hack
to set -DCOPY_SYMTAB from sys/conf/Makefile.kern.inc.  Remove unnecessary
dependencies too.

Revision 1.210: download - view: text, markup, annotated - select for diffs
Sat Aug 29 16:27:07 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +4 -113 lines
Move less important part out of Makefile.kern.inc.

Revision 1.209: download - view: text, markup, annotated - select for diffs
Sat Aug 29 16:07:07 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +9 -5 lines
Define two suffix rules, .c -> .o and .S -> .o, using ${NORMAL_C} and
${NORMAL_S} respectively.  Use the .c rule to build devsw.c, ioconf.c, and
param.c.  Other .c/.S files have explicit rules in the generated `Makefile',
and unaffected.

Revision 1.208: download - view: text, markup, annotated - select for diffs
Sat Aug 29 15:58:38 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +0 -2 lines
Now that MAXUSERS is in opt_param.h, param.o doesn't depend on Makefile.

Revision 1.207: download - view: text, markup, annotated - select for diffs
Sat Aug 29 15:51:53 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +0 -13 lines
According to nxr.netbsd.org, nothing uses MEMORY_DISK_IMAGE.  Retire it.
Premature design and its build rule bloats Makefile.kern.inc.  There are
other ways like MEMORY_DISK_DYNAMIC.

(When kernel will be built as relocatable, embedding binary data will be much
easier, and md(4), splash(4), and ksyms(4) will all benefit.)

Revision 1.206: download - view: text, markup, annotated - select for diffs
Sat Aug 29 15:37:18 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +0 -3 lines
genassym.cf and machdep.c are _KERNEL_OPT'ed, don't depend on Makefile.

Revision 1.205: download - view: text, markup, annotated - select for diffs
Sat Aug 29 15:06:35 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +0 -3 lines
conf.c doesn't exist.

autoconf.c exists, but it's just a C file, no need to depend on Makefile.

Revision 1.204: download - view: text, markup, annotated - select for diffs
Sat Aug 29 14:43:38 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +0 -3 lines
I don't see how uipc_proto.c can change its content by Makefile, don't depend
on Makefile.  vfs_conf.c doesn't even exist, remove it too.

Revision 1.203: download - view: text, markup, annotated - select for diffs
Sat Aug 29 14:07:45 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +1 -1 lines
Convert MAXUSERS, take 2.

Define MAXUSERS in opt_param.h and include it from sys/param.h, for more
accurate dependency.  Don't define -DMAXUSERS and add it to ${CPPFLAGS}.
config(5)'s "maxusers" syntax doesn't change.

(The version just before revert was OK, but I had something bad in my obj
dirs.)

Revision 1.202: download - view: text, markup, annotated - select for diffs
Sat Aug 29 07:33:18 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +1 -1 lines
Revert MAXUSERS changes.  Need fresh air.

Revision 1.201: download - view: text, markup, annotated - select for diffs
Sat Aug 29 07:08:38 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +1 -1 lines
Define MAXUXERS in opt_param.h.  Bump config(1) version.

Revision 1.200: download - view: text, markup, annotated - select for diffs
Sat Aug 29 05:03:36 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +33 -0 lines
Comment.

Revision 1.199: download - view: text, markup, annotated - select for diffs
Sat Aug 29 05:02:43 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +22 -0 lines
Define some suffix rules.  Not used and harmless, because all rules are
explicit now.

Revision 1.198: download - view: text, markup, annotated - select for diffs
Sat Aug 29 04:46:27 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +1 -1 lines
Specify explicit output (-o) to ${LINT} too.

Revision 1.197: download - view: text, markup, annotated - select for diffs
Sat Aug 29 04:43:05 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +6 -6 lines
Specifiy explicit output (-o) to ${CC}.

Revision 1.196: download - view: text, markup, annotated - select for diffs
Thu Aug 27 06:28:09 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +3 -0 lines
netbsd depends on $S/kern/kern_ksyms_buf.c; rarely updated but better safe.

Revision 1.195: download - view: text, markup, annotated - select for diffs
Thu Aug 27 03:20:13 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +2 -2 lines
Tweak previous.

Revision 1.194: download - view: text, markup, annotated - select for diffs
Thu Aug 27 03:17:46 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +10 -6 lines
Echo exact objects (swap*.o etc.) when linking kernel.

Revision 1.193: download - view: text, markup, annotated - select for diffs
Wed Aug 26 03:00:52 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +2 -2 lines
Have MI genassym.cf.

Revision 1.192: download - view: text, markup, annotated - select for diffs
Wed Aug 26 02:54:09 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +0 -2 lines
Don't allow MD to override the assym.h generation rule.

(Nothing defines it except i386/bioscall/Makefile, but it is not part of
kernel build.)

Revision 1.191: download - view: text, markup, annotated - select for diffs
Tue Aug 25 08:01:18 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +2 -2 lines
Make <kernel>.ldscript ready to include assym.h.

Revision 1.190: download - view: text, markup, annotated - select for diffs
Tue Aug 25 02:57:32 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +4 -13 lines
Redo Rev. 1.188:
o Explicitly add dependency of `<kernel>' on `<kernel>.ldscript', instead of
  relying on ${SYSTEM_DEP}, which is evaluated much earlier than
  `sys/conf/Makefile.kern.inc' is included, to avoid evaluation ordering
  problems.
o Print a message when creating a `<kernel>.ldscript'.
o Trim empty lines in `<kernel>.ldscript'.

Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon Aug 24 18:02:55 2015 UTC (9 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +9 -1 lines
Fix the build: provide compatibility with ports that define KERNLDSCRIPT to
a file?

Revision 1.188: download - view: text, markup, annotated - select for diffs
Mon Aug 24 15:50:47 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +10 -2 lines
If a kernel linker script is provided, preprocess it by cpp(1).

Thus some constants (PAGE_SIZE, COHERENCY_UNIT, ...) can be replaced in linker
scripts without setting unnecessary temporary symbols, or doing ugly sed(1)
hacks.  No headers are included yet.

Revision 1.187: download - view: text, markup, annotated - select for diffs
Mon Aug 24 15:44:01 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +1 -1 lines
Fix vers.o dependency:
o Depend on ${SYSTEM_OBJ} instead of ${SYSTEM_DEP}.  The latter is obviously
  meant for kernels.
o Depend on Makefile instead of ${SYSTEM_SWAP_DEP}, which has existed since
  Rev. 1.1, but seems not used now.  Makefile is a file that must be updated
  after every config(1) run.  This is simpler than dependency on swap<kernel>.c.

Revision 1.186: download - view: text, markup, annotated - select for diffs
Mon Aug 24 14:04:25 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +1 -0 lines
Define ${LINKSCRIPT} in one place.

Revision 1.185: download - view: text, markup, annotated - select for diffs
Wed Aug 19 05:46:11 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +8 -1 lines
If MD ldscript is generated, give it dependency on ${SYSTEM_OBJ}.

Revision 1.183.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:05 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +7 -1 lines
Sync with HEAD

Revision 1.184: download - view: text, markup, annotated - select for diffs
Fri May 1 02:00:41 2015 UTC (9 years, 7 months ago) by nat
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +7 -1 lines
Include splash with genfb.
splash.o is only included with options SPLASHSCREEN.
splash_image.o target moved to Makefile.kern.inc.

This commit was approved by matt@

Revision 1.169.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 19:23:09 2014 UTC (10 years ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.169: preferred, colored; next MAIN 1.170: preferred, colored
Changes since revision 1.169: +2 -2 lines
Pull up following revision(s) (requested by nakayama in ticket #317):
	sys/conf/Makefile.kern.inc: revision 1.179
Trim " " at the beginning of version string to follow the change
in rev.1.60 of newvers.sh.
-const char sccs[] = "@(#)${fullversion}";
+const char sccs[] = "@(#)" ${fullversion_source};

Revision 1.183: download - view: text, markup, annotated - select for diffs
Sat Nov 15 12:56:28 2014 UTC (10 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +2 -2 lines
Stop ordering dependencies alphabetically.

Revision 1.182: download - view: text, markup, annotated - select for diffs
Sat Nov 15 08:20:42 2014 UTC (10 years, 1 month ago) by uebayasi
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +4 -0 lines
Don't sort objects for modular build.

Revision 1.181: download - view: text, markup, annotated - select for diffs
Sat Nov 15 08:20:01 2014 UTC (10 years, 1 month ago) by uebayasi
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +3 -3 lines
Separate linker script argument (${LINKSCRIPT}) from ${LINKFORMAT}

${LINKFORMAT} specifies ABI options, and used for ld -r.  ${LINKSCRIPT} (-T
ldscript) is used only for final link.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Thu Nov 13 13:44:31 2014 UTC (10 years, 1 month ago) by uebayasi
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +3 -3 lines
`ld -r' needs ${LINKFORMAT}.  This fixes the experimental config(1) modular
build for MIPS64 ports.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Fri Nov 7 12:34:14 2014 UTC (10 years, 1 month ago) by nakayama
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +2 -2 lines
Trim " " at the beginning of version string to follow the change
in rev.1.60 of newvers.sh.

-const char sccs[] = "@(#)${fullversion}";
+const char sccs[] = "@(#)" ${fullversion_source};

Revision 1.178: download - view: text, markup, annotated - select for diffs
Thu Nov 6 12:02:59 2014 UTC (10 years, 1 month ago) by uebayasi
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +2 -2 lines
Leave .map when linking .ko in modular build.

Revision 1.177: download - view: text, markup, annotated - select for diffs
Thu Nov 6 11:59:17 2014 UTC (10 years, 1 month ago) by uebayasi
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +1 -1 lines
More clean files.

Revision 1.176: download - view: text, markup, annotated - select for diffs
Fri Oct 10 08:13:52 2014 UTC (10 years, 2 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +1 -1 lines
Fix link echo indent.

Revision 1.175: download - view: text, markup, annotated - select for diffs
Thu Oct 9 16:35:57 2014 UTC (10 years, 2 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +7 -1 lines
Define a command to generate relocatable objects using ld -r.

Revision 1.174: download - view: text, markup, annotated - select for diffs
Sat Sep 20 19:22:09 2014 UTC (10 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +6 -2 lines
Also copy the symtab to the .gdb image.  If we are producing a .gdb, grab
the symtab from that since it will be a bit larger than the one from the
stripped kernel and thus can't be inserted into the .gdb kernel.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Fri Sep 5 06:52:12 2014 UTC (10 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +2 -1 lines
Add a commented out CWARNFLAGS to enable -Wc++-compat but don't treat them
as errors.

Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu Aug 21 07:57:25 2014 UTC (10 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +2 -2 lines
More tidyup after joerg's copy&paste disaster.  I have ddb symbols again.

Revision 1.171: download - view: text, markup, annotated - select for diffs
Wed Aug 20 22:02:20 2014 UTC (10 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +2 -2 lines
Drop stray }

Revision 1.158.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:34 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.158.2.1: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.2.1: +32 -22 lines
Rebase to HEAD as of a few days ago.

Revision 1.170: download - view: text, markup, annotated - select for diffs
Sun Aug 17 21:17:44 2014 UTC (10 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +38 -63 lines
Reorganize symbol table embedding.  The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.

Revision 1.167.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:36 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.167: preferred, colored; next MAIN 1.168: preferred, colored
Changes since revision 1.167: +6 -8 lines
Rebase.

Revision 1.169: download - view: text, markup, annotated - select for diffs
Fri Aug 8 14:42:58 2014 UTC (10 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +1 -8 lines
The bpendtsleep label has been gone for a long time, so cleanup the
associated hack here.

Revision 1.149.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:18 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.149.2.3: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.2.3: +32 -15 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.159.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:34 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.159.2.1: preferred, colored; branchpoint 1.159: preferred, colored; next MAIN 1.160: preferred, colored
Changes since revision 1.159.2.1: +12 -4 lines
sync with head

Revision 1.168: download - view: text, markup, annotated - select for diffs
Mon May 5 19:06:29 2014 UTC (10 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +6 -1 lines
As discussed on tech-toolchain, offer a new make variable MKKDEBUG - if
set to "yes", kernel builds will gain debug info and a netbsd.gdb will
be created (same as adding "makeoptions DEBUG=-g" to the config file).

Revision 1.167: download - view: text, markup, annotated - select for diffs
Mon Mar 10 02:36:50 2014 UTC (10 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +2 -1 lines
Do COMPILE_CTFCONVERT on vers.o as same as other targets

Otherwise, we will get the error when building a kernel with -V MKDTRACE:
  ERROR: nbctfmerge: Input file vers.o was partially built from C sources,
  but no CTF data was present

Revision 1.166: download - view: text, markup, annotated - select for diffs
Mon Mar 10 02:04:29 2014 UTC (10 years, 9 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +2 -2 lines
Use CTFMFLAGS, not CTFFLAGS, for CTFMERGE

Revision 1.165: download - view: text, markup, annotated - select for diffs
Tue Mar 4 14:58:14 2014 UTC (10 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +3 -3 lines
Introduce GENASSYM_CPPFLAGS for options during genassym processing.
Consistently drop assembler flags.

Revision 1.118.4.2.4.4: download - view: text, markup, annotated - select for diffs
Fri Feb 14 18:36:14 2014 UTC (10 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.118.4.2.4.3: preferred, colored; branchpoint 1.118.4.2: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.4.2.4.3: +5 -2 lines
SYSTEM_DEP?= -> SYSTEM_DEP+=
Add KERNLDSCRIPT to SYSTEM_DEP

Revision 1.164: download - view: text, markup, annotated - select for diffs
Fri Oct 18 08:06:06 2013 UTC (11 years, 1 month ago) by mbalmer
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +1 -2 lines
revert previous

Revision 1.163: download - view: text, markup, annotated - select for diffs
Fri Oct 18 08:03:48 2013 UTC (11 years, 1 month ago) by mbalmer
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -2 lines
add a device-major for lua(4)

Revision 1.162: download - view: text, markup, annotated - select for diffs
Sat Sep 21 22:28:12 2013 UTC (11 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +3 -1 lines
Update LLVM/Clang snapshot to r191105. This brings in a better detection
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.

Revision 1.159.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:24 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +21 -12 lines
sync with head

Revision 1.161: download - view: text, markup, annotated - select for diffs
Fri Aug 9 09:08:47 2013 UTC (11 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +20 -11 lines
Fix debug kernel builds when the automatic symbol table resizing kicks in.
Previously, the TAIL/HEAD link steps were being executed twice and the
(relinked/stripped) kernel would overwrite the debug version.

XXX this is all ugly.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Jul 17 14:05:43 2013 UTC (11 years, 4 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -2 lines
Use += for SYSTEM_DEP not ?=

Revision 1.149.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:12 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.149.2.2: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.2: +3 -2 lines
sync with (a bit old) head

Revision 1.152.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 07:00:30 2012 UTC (12 years ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152: +2 -1 lines
Add SYSTEM_LD_TAIL_DBSYM for arm.

Revision 1.158.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:57 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +3 -2 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.159: download - view: text, markup, annotated - select for diffs
Sun Nov 4 11:12:31 2012 UTC (12 years, 1 month ago) by apb
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +3 -2 lines
Add references to ${_NETBSD_VERSION_DEPENDS} for files that
need to be re-created when the NetBSD version changes.  They
will also be re-created when any build settings are changed.

Revision 1.149.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:48 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.149.2.1: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.1: +3 -6 lines
sync with head

Revision 1.158: download - view: text, markup, annotated - select for diffs
Fri Aug 10 16:05:26 2012 UTC (12 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +2 -6 lines
Deal with optional HAVE_GCC.

Revision 1.157: download - view: text, markup, annotated - select for diffs
Fri Jul 27 05:40:51 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +2 -1 lines
Enable -fno-common for GCC compiled kernels

Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:23 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +51 -6 lines
sync with head

Revision 1.149.6.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:22 2012 UTC (12 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.149.6.1: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.6.1: +44 -6 lines
sync to latest -current.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sun Mar 25 09:15:20 2012 UTC (12 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +3 -2 lines
Redo rev 1.154 by using an explicit MKSHNOECHO that does not output anything.

Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun Mar 25 06:55:20 2012 UTC (12 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +3 -3 lines
Don't pass assembler flags to genassym, it doesn't compile.

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sun Mar 25 01:56:02 2012 UTC (12 years, 8 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +2 -2 lines
Don't print blank lines when !CTFCONVERT.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Mon Mar 19 05:38:26 2012 UTC (12 years, 8 months ago) by bsh
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +40 -3 lines
adjust the size of db_symtab space automatically.
proposed on tech-toolchain@, and got no objections.

Revision 1.149.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:01 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +8 -1 lines
merge to -current.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Sun Feb 12 16:34:11 2012 UTC (12 years, 10 months ago) by matt
Branches: MAIN
CVS tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: matt-nb6-plus
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +2 -1 lines
Change old-style function defintions to C89 prototypes.

Approved by releng.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Feb 3 23:39:26 2012 UTC (12 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +4 -1 lines
-Wold-style-definitions for i386 and amd64

Revision 1.150: download - view: text, markup, annotated - select for diffs
Mon Dec 19 14:06:17 2011 UTC (12 years, 11 months ago) by joerg
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +4 -1 lines
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 1.149: download - view: text, markup, annotated - select for diffs
Sun Sep 25 22:26:33 2011 UTC (13 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +2 -1 lines
Allow analyze to work by including bsd.clang-analyze.mk for kernels

Revision 1.148: download - view: text, markup, annotated - select for diffs
Wed Aug 31 20:16:43 2011 UTC (13 years, 3 months ago) by plunky
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +7 -1 lines
for multi-cpu machines, cpu_hatch() straddles the init of
__stack_chk_guard, so ensure stack protection is disabled
on x86 architectures (I don't know about other archs)

Revision 1.147: download - view: text, markup, annotated - select for diffs
Sun Aug 28 23:15:53 2011 UTC (13 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +5 -1 lines
let kernel makefile override *.d targets

Revision 1.146: download - view: text, markup, annotated - select for diffs
Thu Aug 18 02:19:20 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +1 -10 lines
Remove gcc-4.5 hacks

Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Aug 11 22:37:57 2011 UTC (13 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +3 -3 lines
let md makefile add newvers.sh flags by setting NVFLAGS

Revision 1.144: download - view: text, markup, annotated - select for diffs
Tue Aug 9 13:02:53 2011 UTC (13 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +3 -3 lines
Restrict -Wno-array-bounds to tulip.c with gcc.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Thu Jul 28 13:42:16 2011 UTC (13 years, 4 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -3 lines
Define SYMTAB_SPACE in opt_ksyms.h, not opt_ddbparam.h.  Ensure
that ddb(4) code is independent of SYMTAB_SPACE value.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Thu Jul 7 08:47:22 2011 UTC (13 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -1 lines
adb_kbd.c and adb_ms.c need -Wno-cast-qual due to sysctl const issue.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Mon Jul 4 13:00:19 2011 UTC (13 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +9 -2 lines
apply some -Wno-foo to 3 files that are non-trivial to solve, for GCC 4.5.

Revision 1.138.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:53 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +7 -8 lines
Catchup with rmind-uvmplock merge.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Mon Jun 20 06:52:38 2011 UTC (13 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +5 -6 lines
remove all the code that supported HAVE_GCC=3.  mostly from chuq.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Fri Jun 17 21:19:42 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +3 -3 lines
If dbsym fails, not fail the command, remove the target too so that the
next invokation will try to remake it.

Revision 1.129.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:35 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129: +22 -18 lines
Sync with HEAD.

Revision 1.127.2.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:33 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.127.2.1: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.2.1: +16 -18 lines
sync with head

Revision 1.138: download - view: text, markup, annotated - select for diffs
Mon May 30 03:12:43 2011 UTC (13 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +1 -4 lines
Don't duplicate -Werror here, bsd.sys.mk already provides it

Revision 1.137: download - view: text, markup, annotated - select for diffs
Thu May 26 12:56:30 2011 UTC (13 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +4 -1 lines
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Mon May 23 13:55:55 2011 UTC (13 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +4 -4 lines
Reorder flag order to not depend on -Wextra being applied before
-Wno-sign-compare

Revision 1.135: download - view: text, markup, annotated - select for diffs
Sun May 22 20:49:46 2011 UTC (13 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +1 -3 lines
Inherit SSP settings from bsd.sys.mk

Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu May 19 21:24:55 2011 UTC (13 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -2 lines
Spell --fatal-warnings with two hyphens

Revision 1.133: download - view: text, markup, annotated - select for diffs
Tue May 17 07:16:02 2011 UTC (13 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +7 -7 lines
Add support for source specific AFLAGS and COPTS.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Wed May 11 16:03:56 2011 UTC (13 years, 7 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +3 -3 lines
Make ${DBSYM} failure fatal.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Sat Apr 30 19:21:09 2011 UTC (13 years, 7 months ago) by plunky
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -2 lines
correct comment

Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:57 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +11 -2 lines
sync with head

Revision 1.129.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:14 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129: +7 -1 lines
Sync with HEAD

Revision 1.130: download - view: text, markup, annotated - select for diffs
Thu Feb 17 18:47:13 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +7 -1 lines
If generating a gdb kernel and using dbsym, insert the symbols into it.
(This is useful when using the .gdb with an emulator so that ddb in the
emulator will have symbols).

Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Jan 4 01:52:30 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -1 lines
If using a kernel ldscript, make sure it's added to the list of kernel
dependencies.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Jan 2 19:24:48 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -2 lines
Kernels modules are c99 (gnu99) just like the kernel.
Add(move) -std=gnu99 to CPPFLAGS (from COPTS).

Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:03 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +28 -10 lines
Sync with HEAD.

Revision 1.111.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:20 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.111.4.3: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.4.3: +29 -11 lines
sync with head

Revision 1.127: download - view: text, markup, annotated - select for diffs
Fri Mar 5 23:06:49 2010 UTC (14 years, 9 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231
Branch point for: rmind-uvmplock
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +10 -10 lines
Use 'a && b && ...' contructs for running multiple commands on a single line
in Makefiles, to properly detect/report failures.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Mar 1 21:10:14 2010 UTC (14 years, 9 months ago) by darran
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +22 -4 lines
DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider.  Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signal_handle,
lwp_create, lwp_start, lwp_exit.

Revision 1.118.4.2.4.3: download - view: text, markup, annotated - select for diffs
Wed Jan 27 07:28:09 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.118.4.2.4.2: preferred, colored; branchpoint 1.118.4.2: preferred, colored
Changes since revision 1.118.4.2.4.2: +7 -1 lines
If we're making a gdb kernel, insert the symtab in that as well.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Tue Nov 10 20:24:50 2009 UTC (15 years, 1 month ago) by tron
Branches: MAIN
CVS tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -2 lines
"cgd.c" doesn't use variable size stack allocations anymore.

Revision 1.118.4.2.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 12 16:51:41 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211
Diff to: previous 1.118.4.2.4.1: preferred, colored; branchpoint 1.118.4.2: preferred, colored
Changes since revision 1.118.4.2.4.1: +2 -2 lines
Allow DBSYM to error out now that binutils can strip $L locals.

Revision 1.118.4.2.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 5 03:49:50 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.118.4.2: preferred, colored
Changes since revision 1.118.4.2: +2 -2 lines
Don't abort if DBSYM fails.

Revision 1.120.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:44 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.120.2.1: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.2.1: +1 -5 lines
Sync with HEAD.

Revision 1.111.4.3: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:17 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.111.4.2: preferred, colored; branchpoint 1.111: preferred, colored
Changes since revision 1.111.4.2: +1 -5 lines
sync with head

Revision 1.124: download - view: text, markup, annotated - select for diffs
Wed May 13 18:06:26 2009 UTC (15 years, 7 months ago) by cube
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-nbase
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +1 -5 lines
Nothing has used config_time.h since 1/8/2008.

Revision 1.120.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:04 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +13 -4 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.111.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:29 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.111.4.1: preferred, colored; branchpoint 1.111: preferred, colored
Changes since revision 1.111.4.1: +45 -25 lines
sync with head.

Revision 1.118.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:12 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.118.2.2: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.2.2: +12 -4 lines
Sync with HEAD.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Mon Mar 30 16:34:19 2009 UTC (15 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +10 -2 lines
Add a MKREPRO variable (defaults to "no") that invokes newvers.sh with
the -r flag if it is set to "yes", resulting in a reproducible kernel build.

Revision 1.118.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 27 14:50:36 2009 UTC (15 years, 8 months ago) by msaitoh
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u1-k1-k5
Branch point for: matt-nb5-mips64
Diff to: previous 1.118.4.1: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.4.1: +2 -2 lines
Pull up following revision(s) (requested by sketch in ticket #536):
	etc/Makefile: revision 1.364
	Makefile: revision 1.267
	usr.sbin/postinstall/postinstall: revision 1.90
	usr.bin/hexdump/parse.c: revision 1.25
	sys/arch/x86/acpi/genwakecode.sh: revision 1.3
	usr.sbin/postinstall/postinstall: revision 1.87
	usr.sbin/postinstall/postinstall: revision 1.88
	usr.sbin/postinstall/postinstall: revision 1.89
	sys/arch/x86/acpi/Makefile.wakecode.inc: revision 1.4
	sys/conf/Makefile.kern.inc: revision 1.120
Use ll instead of non-standard q as length modifier in format strings. Makes
this work on Solaris. OK by apb.
Not every grep knows -q. Ok by apb.
Use sed, awk and hexdump from tools to make this work on Solaris. Ok by apb.
Use awk and grep host tools where required.  'build.sh release' now
works on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
"grep -q" is not portable; use "grep >/dev/null" instead.  Also add a
comment saying that postinstal is invoked during a cross build.
In file_exists_exact(), fix an incorrect test of "1" instead of "$1",
and improve the comment explaining what this function does.
As long as we don't yet have a working TOOL_GREP, fgrep is more portablethan grep -F.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Mar 20 09:13:06 2009 UTC (15 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3 lines
fix cscope target

Philip Paeps, PR kern/41012

Revision 1.118.4.1: download - view: text, markup, annotated - select for diffs
Sun Mar 15 19:43:48 2009 UTC (15 years, 9 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RC3
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -1 lines
Pull up following revision(s) (requested by christos in ticket #458):
	sys/conf/Makefile.kern.inc: revision 1.121
	sys/conf/files: revision 1.940
	sys/kern/init_main.c: revision 1.381
	sys/kern/kern_ssp.c: revision 1.1
	sys/kern/subr_autoconf.c: revision 1.168
	sys/sys/device.h: revision 1.116
	sys/sys/systm.h: revision 1.233
Unbreak ssp kernels. The issue here that when the ssp_init() call was
deferred, it caused the return from the enclosing function to break, as
well as the ssp return on i386. To fix both issues, split configure in
two pieces the one before calling ssp_init and the one after, and move
the ssp_init() call back in main. Put ssp_init() in its own file, and
compile this new file with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.

Revision 1.118.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:30 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.118.2.1: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.2.1: +2 -1 lines
Sync with HEAD.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Feb 12 18:24:18 2009 UTC (15 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +2 -1 lines
Unbreak ssp kernels. The issue here that when the ssp_init() call was deferred,
it caused the return from the enclosing function to break, as well as the
ssp return on i386. To fix both issues, split configure in two pieces
the one before calling ssp_init and the one after, and move the ssp_init()
call back in main. Put ssp_init() in its own file, and compile this new file
with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.

Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:45 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3 lines
Sync with HEAD.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Jan 18 13:53:03 2009 UTC (15 years, 10 months ago) by hans
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -2 lines
Not every grep knows -q. Ok by apb.

Revision 1.108.6.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:49 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.108.6.4: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.6.4: +23 -15 lines
Sync with HEAD.

Revision 1.113.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:07 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.113.2.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.2.1: +24 -16 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Nov 13 06:48:38 2008 UTC (16 years, 1 month ago) by matt
Branches: MAIN
CVS tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -2 lines
Sort the kernel objects.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat Oct 25 22:27:38 2008 UTC (16 years, 1 month ago) by apb
Branches: MAIN
CVS tags: netbsd-5-base, netbsd-5-0-RC2, netbsd-5-0-RC1
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +22 -14 lines
Use ${TOOL_SED} instead if plain sed in Makefiles.

Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:18 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +10 -8 lines
Sync with HEAD.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:05:22 2008 UTC (16 years, 1 month ago) by apb
Branches: MAIN
CVS tags: matt-mips64-base2
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -2 lines
Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.

Revision 1.108.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:17 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.108.6.3: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.6.3: +9 -7 lines
Sync with HEAD.

Revision 1.111.6.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:46 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.111.6.1: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.6.1: +10 -8 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Fri Sep 5 13:37:25 2008 UTC (16 years, 3 months ago) by tron
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, haad-dm-base1
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -2 lines
Compile NetBSD/amd64 kernels with "-Wextra". Patches contributed by
Juan RP in PR port-amd64/39266.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Sep 5 11:03:53 2008 UTC (16 years, 3 months ago) by tron
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3 lines
Don't add "${CPUFLAGS}" and "${CWARNFLAGS}" to "AFLAGS" and "CFLAGS" twice.
Patch submitted by Juan Romero Pardines in PR kern/39265.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Aug 29 00:02:24 2008 UTC (16 years, 3 months ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +6 -5 lines
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.

Revision 1.108.6.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:04 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.108.6.2: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.6.2: +1 -0 lines
Sync with HEAD.

Revision 1.112.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:20 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +2 -1 lines
Sync with head.

Revision 1.111.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:57 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -2 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Jun 21 01:00:43 2008 UTC (16 years, 5 months ago) by gmcgarry
Branches: MAIN
CVS tags: wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -1 lines
pcc needs -Wno-unreachable-code.

Revision 1.108.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:10 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.108.6.1: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.6.1: +2 -1 lines
Sync with HEAD.

Revision 1.111.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:29 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +3 -2 lines
sync with head.

Revision 1.111.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:48 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -2 lines
sync with head.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed May 14 18:15:41 2008 UTC (16 years, 7 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -2 lines
Print kernel version string along with the size output, to avoid having
to dig it out manually if installing by version number... and also to
make it somewhat easier to notice up front if one accidentally boots
the wrong test kernel. not like I've ever done that. ;-)

PR kern/38563.

Revision 1.108.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:35 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +6 -3 lines
Sync with HEAD.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Mar 24 18:03:27 2008 UTC (16 years, 8 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -2 lines
Fix flags for kern_synch.c: it is COPTS.<cfile>, not CFLAGS.<cfile>.

Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:10 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +5 -2 lines
sync with head.

Revision 1.101.8.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:34 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.101.8.2: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.8.2: +23 -9 lines
sync with HEAD

Revision 1.68.2.9: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:31 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.8: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.8: +5 -2 lines
sync with head.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Feb 25 05:56:13 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -1 lines
Since we say the kernel is C99, add -std=gnu99 to COPTS

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sat Feb 23 17:43:36 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -2 lines
Add assym.d to DEPS so it gets properly cleaned.

Revision 1.103.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:31 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.103.4.1: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.4.1: +19 -8 lines
Sync with HEAD.

Revision 1.68.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:15 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.7: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.7: +8 -1 lines
sync with head.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Feb 3 06:46:29 2008 UTC (16 years, 10 months ago) by matt
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +8 -1 lines
Add a syntax-only target which attempts to compile the entire kernel as one
entity.  Think of it as super-lint.  Due to bugs in the GCC C frontend it
doesn't quite work right but it does provide useful feedback.

Revision 1.68.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:18 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.6: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.6: +12 -8 lines
sync with head

Revision 1.104.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:15:01 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +12 -8 lines
Sync with HEAD

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Jan 17 20:14:49 2008 UTC (16 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +6 -1 lines
Add a stub file that includes a bunch of kernel headers and always get
compiled with -g. For the initial set, netbsd on amd64 grows by around
80KB. This allows much easier use of GDB for post-mortem debugging as
it can understand the layout of data structures. The additional data can
be strip(1)ped off normally for size constraint environments.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Jan 17 01:56:03 2008 UTC (16 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -4 lines
Remove unnecessary references to config_time.h.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Jan 17 01:13:01 2008 UTC (16 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -5 lines
Use BUILDSYMLINKS from <bsd.files.mk> instead of custom copy rules
for config_time.h and athhal_options.h.

Note: we still copy param.c because I'm told that we should still support
people editing that on a per-compile basis.

Revision 1.101.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:05 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.101.8.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.8.1: +3 -2 lines
sync with HEAD

Revision 1.103.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:15 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -2 lines
Sync with HEAD.

Revision 1.68.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:29:13 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.5: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.5: +3 -2 lines
sync with head

Revision 1.101.6.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:14:30 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.101.6.2: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.6.2: +3 -2 lines
Sync with HEAD.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Nov 29 01:39:27 2007 UTC (17 years ago) by jnemeth
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1
Branch point for: bouyer-xeni386
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -2 lines
add dev/ofw/ofw_subr.c to VARSTACK

Revision 1.101.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:19 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3 lines
sync with HEAD

Revision 1.68.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:52 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.4: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.4: +3 -3 lines
sync with head.

Revision 1.101.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:06 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.101.6.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.6.1: +2 -2 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.101.10.2: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:47:57 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.101.10.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.10.1: +2 -2 lines
sync with head.

Revision 1.99.6.4: download - view: text, markup, annotated - select for diffs
Fri Oct 12 17:03:05 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.99.6.3: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.6.3: +2 -2 lines
Sync with head.

Revision 1.99.6.3: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:08 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.99.6.2: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.6.2: +2 -2 lines
Sync with head.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Mon Oct 8 21:25:35 2007 UTC (17 years, 2 months ago) by tls
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -2 lines
Fix accidental USE_SSP -> USE_FORT: now USE_SSP works as intended for
kernel builds.  Thanks to xtraeme for pointing this out.

Revision 1.101.10.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:30:15 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
sync with head.

Revision 1.101.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:28:15 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
Sync with HEAD.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Sep 25 15:16:05 2007 UTC (17 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: yamt-x86pmap-base2
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
ufs is ssp clean

Revision 1.68.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:04 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.3: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.3: +13 -6 lines
sync with head.

Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:52 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +2 -2 lines
Sync with head.

Revision 1.99.6.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:57:48 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.99.6.1: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.6.1: +2 -2 lines
Sync with head.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon May 28 12:06:24 2007 UTC (17 years, 6 months ago) by tls
Branches: MAIN
CVS tags: yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2 lines
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.

Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:18 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +12 -5 lines
sync with head.

Revision 1.99.6.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:20 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +12 -5 lines
Sync with head.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Mar 12 15:09:01 2007 UTC (17 years, 9 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +12 -5 lines
Add the ability for platform-specific Makefiles to indicate which kernel
images to install into / (which might be more than just "netbsd").

Addresses PR port-shark/17569.

Revision 1.68.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:45 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.2: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.2: +3 -5 lines
sync with head.

Revision 1.94.2.4: download - view: text, markup, annotated - select for diffs
Sat Feb 10 14:42:03 2007 UTC (17 years, 10 months ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.94.2.3: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.3: +3 -5 lines
Pull up following revision(s) (requested by elad in ticket #408):
	sys/conf/Makefile.kern.inc: revision 1.99
We don't need to include kern_exit43.c to the list of files that we cannot
use SSP on now that zero sized arrays are treated properly in gcc.

Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:15 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.84.2.2: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.2: +3 -5 lines
Sync with head.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Jan 27 01:37:57 2007 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -5 lines
We don't need to include kern_exit43.c to the list of files that we cannot
use SSP on now that zero sized arrays are treated properly in gcc.

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:03 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.1: +9 -5 lines
Sync with head.

Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:49 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.1: +39 -9 lines
sync with head.

Revision 1.86.2.4: download - view: text, markup, annotated - select for diffs
Thu Dec 21 15:07:58 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.86.2.3: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.3: +7 -5 lines
sync with head.

Revision 1.94.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 20 22:54:32 2006 UTC (17 years, 11 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.94.2.2: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.2: +7 -5 lines
Pull up following revision(s) (requested by tls in ticket #291):
	sys/conf/Makefile.kern.inc: revision 1.98
Add --param ssp-buffer-size=1 if USE_SSP as for userspace.
Add kern_exit_43.c to VARSTACK -- it isn't, really, but it causes an error
because it has a 0-element array on the stack and SSP always emits the
error that it is not protecting such a small array (ssp-buffer-size=0 is
not supported, so, really, it should not emit this error!).

Revision 1.94.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 20 22:51:39 2006 UTC (17 years, 11 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.94.2.1: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.1: +2 -2 lines
Pull up following revision(s) (requested by tls in ticket #290):
	sys/conf/Makefile.kern.inc: revision 1.97
use -fstack-protector instead of -fstack-protector-all since this breaks
on amd64 (it works on sparc64).

Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Dec 18 22:37:36 2006 UTC (17 years, 11 months ago) by tls
Branches: MAIN
CVS tags: yamt-splraiseipl-base5
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +7 -5 lines
Add --param ssp-buffer-size=1 if USE_SSP as for userspace.
Add kern_exit_43.c to VARSTACK -- it isn't, really, but it causes an error
because it has a 0-element array on the stack and SSP always emits the
error that it is not protecting such a small array (ssp-buffer-size=0 is
not supported, so, really, it should not emit this error!).

Revision 1.86.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 18 11:42:13 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.86.2.2: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.2.2: +5 -3 lines
sync with head.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Dec 12 21:31:58 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base4
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
use -fstack-protector instead of -fstack-protector-all since this breaks
on amd64 (it works on sparc64).

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Dec 10 23:09:31 2006 UTC (18 years ago) by christos
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -1 lines
there is no stack-protector for gcc3

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:52 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.2.1: +18 -3 lines
sync with head.

Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 21:08:53 2006 UTC (18 years ago) by tron
Branches: netbsd-4
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -2 lines
Pull up following revision(s) (requested by tls in ticket #244):
	sys/conf/Makefile.kern.inc: revision 1.95
Add arch/xen/i386/gdt.c to list of kernel files that do variable-size
allocations on the stack.  This allocation could potentially be quite
large -- I am not sure how to best fix that.
Fixes USE_SSP i386 build.sh failure.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Dec 3 01:45:57 2006 UTC (18 years ago) by tls
Branches: MAIN
CVS tags: yamt-splraiseipl-base3
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -2 lines
Add arch/xen/i386/gdt.c to list of kernel files that do variable-size
allocations on the stack.  This allocation could potentially be quite
large -- I am not sure how to best fix that.

Fixes USE_SSP i386 build.sh failure.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:15 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +32 -6 lines
Sync with head.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed Nov 15 23:09:53 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2 lines
add aic97xx.c to the varstack list. from shannonjr.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Nov 11 08:40:42 2006 UTC (18 years, 1 month ago) by jnemeth
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -2 lines
add another file to the VARSTACK list

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Nov 11 02:12:53 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +16 -1 lines
Add SSP support.
XXX: This is broken for me right now, because my kernel resets after fxp0
is probed, but it could be some bug in the driver/compiler.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Oct 30 17:56:30 2006 UTC (18 years, 1 month ago) by garbled
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2 lines
Add  -Wextra -Wno-unused for prep.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Oct 26 05:10:55 2006 UTC (18 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -2 lines
Insert a .WAIT between "depend" and "all" in the "dependall" target, so
that "make -j4 dependall" has the intended effect.

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:27 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +8 -5 lines
sync with head

Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Oct 17 14:28:46 2006 UTC (18 years, 2 months ago) by martin
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
Sparc64 is -Wextra ready - but we are not sure where to go with __unused,
so add -Wno-unused-parameter for now.
Ok'd by christos.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:49 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -2 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Oct 4 16:03:01 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +8 -5 lines
Add -Wextra -Wno-unused for i386. Portmasters, please check your ports
and make sure they compile with these flags.

Revision 1.73.8.5: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:26 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.73.8.4: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.8.4: +9 -1 lines
sync with head.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Sep 11 03:12:48 2006 UTC (18 years, 3 months ago) by matt
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -1 lines
Add AFLAGS+= ${AOPTS.${.IMPSRC:T}}

Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:46:39 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +22 -17 lines
sync with head

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Sep 7 18:41:28 2006 UTC (18 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: rpaulo-netinet-merge-pcb-base
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +8 -1 lines
make the bpendtsleep: label only active if KERN_SYNCH_BPENDTSLEEP_LABEL
is defined.  if this option is present in the Makefile CFLAGS and we are
using GCC4, build kern_synch.c with -fno-reorder-blocks, so that this
actually works.

XXX be nice if KERN_SYNCH_BPENDTSLEEP_LABEL was a normal 'defflag' option
XXX but for now take the easy way out and make it checkable in CFLAGS.

Revision 1.73.8.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:47 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.73.8.3: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.8.3: +4 -4 lines
sync with head.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Aug 27 06:49:27 2006 UTC (18 years, 3 months ago) by simonb
Branches: MAIN
CVS tags: yamt-pdpolicy-base8
Branch point for: newlock2
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2 lines
Add -Wa,-fatal-warnings to AFLAGS.  We want assembler warnings to be
fatal as well as compiler warnings.
Vague nods of agreement from Christos and Gimpy.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Aug 24 21:23:40 2006 UTC (18 years, 3 months ago) by dsl
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3 lines
Create a linker map file.
Very useful when trying to find out where recent 'bloat' has come from,
as well as giving exact details of what is actually in the kernel.

Revision 1.73.8.3: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:46:37 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.73.8.2: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.8.2: +2 -13 lines
sync with head.

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:00:01 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +44 -36 lines
sync with head.

Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:46:56 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +3 -14 lines
Sync with head.

Revision 1.73.6.3: download - view: text, markup, annotated - select for diffs
Sat Jun 3 19:44:03 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.73.6.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.6.2: +2 -13 lines
Sync with head.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Jun 2 22:16:18 2006 UTC (18 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -13 lines
remove support for building (with) GCC 2.95.  also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.

Revision 1.73.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:36:01 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
Diff to: previous 1.73.6.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.6.1: +11 -2 lines
Sync with head.

Revision 1.73.12.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:29 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.73.12.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.12.1: +12 -3 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.73.8.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:35 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.73.8.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.8.1: +13 -4 lines
sync with head.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun May 21 05:49:54 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base5
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -2 lines
it is attributes no attribute

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun May 21 04:53:23 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2 lines
Put back -Wno-attribute for now since not all archs have been fixed.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat May 20 00:47:27 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
Don't use -Wno-attributes for gcc4. All the code has been fixed and it will
just hide bugs.

Revision 1.73.10.2: download - view: text, markup, annotated - select for diffs
Thu May 11 23:28:04 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.73.10.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.10.1: +13 -4 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu May 11 17:21:38 2006 UTC (18 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: elad-kernelauth-base
Branch point for: chap-midi
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +9 -1 lines
if GCC>3:
- add -Wno-attributes -Wno-pointer-sign to CWARNFLAGS.
- add -fno-strict-aliasing to CFLAGS [*]

our kernel again needs a bunch of work for this to be enabled.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Apr 28 03:40:15 2006 UTC (18 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -2 lines
Also search for headers in common/include

Revision 1.73.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:21 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
Sync with head.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Apr 19 07:08:17 2006 UTC (18 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2 lines
Order & uniq DEPS, a la <bsd.dep.mk>.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Apr 19 07:06:22 2006 UTC (18 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
Sort SYSTEM_OBJ before adding to SYSTEM_DEP.
Kernel builds are now more consistent with userland
(and IMHO building in order is more asthetically pleasing.)

Revision 1.73.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:32:08 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
sync with head.

Revision 1.73.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:42 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
sync with head.

Revision 1.73.12.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:17 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Mar 29 21:35:32 2006 UTC (18 years, 8 months ago) by uwe
Branches: MAIN
CVS tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
Don't add CPUFLAGS to CFLAGS twice.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Dec 12 22:44:04 2005 UTC (19 years ago) by dsl
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +15 -33 lines
If we are going to run mkdep separately for each file, we might as well
get this makefile to execute the mkdep commands - no need for a submake
and xargs at that point.
However we do need to do something to stop the 'mkdep -d' and CLEANDEPEND
command lines being to long.
Note that 'echo ${xxx} | cmd' is ok because echo is a shell builtin, and
isn't (usually) subject to the kernel's command line limits.

Revision 1.34.2.7: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:47 2005 UTC (19 years ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.34.2.6: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.6: +34 -11 lines
Sync with head.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Dec 1 06:01:18 2005 UTC (19 years ago) by lukem
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
Remove the .d files during __CLEANDEPEND

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:07 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +33 -10 lines
sync with head.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Nov 24 13:01:42 2005 UTC (19 years ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +27 -10 lines
use .d mechanism for kernel as well.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Nov 24 12:54:29 2005 UTC (19 years ago) by dbj
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -1 lines
  . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
     an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.

Revision 1.34.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:40 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.5: preferred, colored
Changes since revision 1.34.2.5: +41 -13 lines
Sync with HEAD. Here we go again...

Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Nov 2 14:29:52 2005 UTC (19 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +7 -2 lines
don't pass -t option to xargs unless MAKEVERBOSE is 2.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Jun 18 22:56:02 2005 UTC (19 years, 5 months ago) by martin
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-lazymbuf
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +6 -3 lines
Do not use -Wreturn-type with gcc 2.95.x

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Jun 7 18:11:34 2005 UTC (19 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -3 lines
Sometimes .BEGIN target is not wanted - eg in sub-make's.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jun 2 05:11:55 2005 UTC (19 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +17 -4 lines
Don't assume infinite command line length.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Jun 1 00:11:32 2005 UTC (19 years, 6 months ago) by uwe
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -1 lines
Add CWARNFLAGS.<fn>

Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue May 31 14:59:31 2005 UTC (19 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -3 lines
- move COPTS.${.IMPSRC:T} and friends after other options so that
  they can override global options.
- put CPPFLAGS.${.IMPSRC:T} into CPPFLAGS, rather than CFLAGS.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue May 31 04:03:46 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +8 -6 lines
Add overrides for tools we use (genassym and hexdump). Now kernel compiles
work again (hi jason!)

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue May 31 02:25:39 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -1 lines
Most of the kernel source now works with "-Wcast-qual -Wshadow
-Wreturn-type -Wwrite-strings -Wswitch" so I am turning them on. There
is going to be a little lossage on some platforms but you can always
compile with "make DEFWARNINGS=no". Tested on sparc64 and i386.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon May 30 15:54:30 2005 UTC (19 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -4 lines
Use TOOL_GENASSYM.  Part of PR toolchain/30350

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon May 23 22:01:11 2005 UTC (19 years, 6 months ago) by dbj
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
tweak reference of DEBUG variable to ignore options that don't start with -g

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:43 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +3 -3 lines
sync with -current

Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:49 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +3 -3 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.34.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:43 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.4: preferred, colored
Changes since revision 1.34.2.4: +3 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:04:16 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3 lines
nuke trailing whitespace

Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:56 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.3: preferred, colored
Changes since revision 1.34.2.3: +11 -7 lines
Sync with HEAD.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Dec 16 00:35:48 2004 UTC (20 years ago) by heas
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +11 -7 lines
Adjust the cscope target so that each source file on a separate line to avoid
overrunning cscope's read buffer and prefix files within lib/{kern,compat}
with the appropriate path.

Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:26:14 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.2: preferred, colored
Changes since revision 1.34.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:44:18 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.1: preferred, colored
Changes since revision 1.34.2.1: +2 -1 lines
Sync with HEAD.

Revision 1.51.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 13 17:32:31 2004 UTC (20 years, 3 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, 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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.51.2.2: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.2: +2 -1 lines
Pull up revision 1.57 (requested by chs in ticket #843):
work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Sep 13 09:39:40 2004 UTC (20 years, 3 months ago) by chs
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -1 lines
work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:43 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +74 -35 lines
Sync with HEAD

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jul 31 00:55:51 2004 UTC (20 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -6 lines
Rename LIBCOMPAT* -> SYSLIBCOMPAT*, now that <bsd.own.mk> provides LIBCOMPAT.
Fixes kernel link problem noted by Sebastien Erard.

Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 15 19:26:25 2004 UTC (20 years, 5 months ago) by he
Branches: netbsd-2-0
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.2.1: +2 -1 lines
Pull up revision 1.55 (requested by atatat in ticket #661):
  Make uudecode into a tool which 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 will not be duplicated.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jul 15 03:35:20 2004 UTC (20 years, 5 months ago) by atatat
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -1 lines
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.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Jul 13 09:07:54 2004 UTC (20 years, 5 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
Narrow a sed(1) RE handling a file/directory name so that build under a
directory named like 'xxx.cxxx/' succeeds.

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 29 04:21:26 2004 UTC (20 years, 7 months ago) by jmc
Branches: netbsd-2-0
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +9 -6 lines
Pullup rev 1.52-1.53 (requested by pk in ticket #212)

Add `-fno-zero-initialized-in-bss' for kernel builds using gcc 3.x
so zero-initialised variables remain patchable.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Apr 25 04:24:06 2004 UTC (20 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +9 -7 lines
-fno-zero-initialized-in-bss only to gcc3, not gcc2.95

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Apr 24 22:07:15 2004 UTC (20 years, 7 months ago) by pk
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2 lines
Force zero-initialised variables into the .data segment.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Dec 4 02:33:41 2003 UTC (21 years ago) by lukem
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -4 lines
fix the MAKEVERBOSE messages to be consistent with the standard ones

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Dec 1 01:12:58 2003 UTC (21 years ago) by lukem
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -5 lines
prefix ${.TARGET} with "${.CURDIR:T}/" in various _MKSHMSG macros;
per similar change to <bsd.own.mk>

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Nov 25 09:15:50 2003 UTC (21 years ago) by pk
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
Change default verbosity level to `traditional'.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 25 08:52:40 2003 UTC (21 years ago) by pk
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4 lines
NORMAL_C,NOPROF_C,NORMAL_S: put `@' in front of these to get saner output.
Also we can't use _MKTARGET_COMPILE here. For now, just hard-code the message.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Nov 25 07:47:29 2003 UTC (21 years ago) by pk
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
SYSTEM_LD: don't display every object file on the planet thrice.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Nov 20 07:08:02 2003 UTC (21 years ago) by lukem
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -1 lines
Provide appropriate no-op defaults for _MK* macros, in case <bsd.own.mk>
is too old.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Nov 17 09:39:29 2003 UTC (21 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +37 -16 lines
Add support for MAKEVERBOSE (a first pass, at least).
Use COPTS.<sourcefile> instead of <sourcefile>_G.
Use HOST_SH (which defaults to `sh' if not set).

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Nov 14 08:33:36 2003 UTC (21 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -5 lines
Remove the .if !target(dependall) so that 'make dependall' works (again)
for the kernel.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Nov 11 21:26:53 2003 UTC (21 years, 1 month ago) by enami
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -4 lines
Prevent mkdep from parsing compiler flags like -pipe.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Nov 6 08:23:22 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +8 -1 lines
force -Wno-uninitialized if the compiler is gcc 2.95

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Oct 29 21:29:27 2003 UTC (21 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -6 lines
Back out -Wno-uninitialized for m68k -- the compiler bug is fixed.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Oct 28 17:58:57 2003 UTC (21 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -1 lines
Add COPTS.<fn>, CPUFLAGS.<fn>, CPPFLAGS.<fn> to CFLAGS to mirror the
file specific flags support of bsd.{lib,prog}.mk.

From Christos.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Oct 28 12:11:31 2003 UTC (21 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -1 lines
sys/dev/ata/wd.c causes spurious warning about blkno not
being initialized before used.  This appears to be a bug
specific to (at least) the m68k target, and will be reported
to the GCC maintainers.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Oct 26 19:24:06 2003 UTC (21 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -4 lines
Delete -Wno-uninitialized. Tested on sparc64 and i386. Rationale:
Gcc-3.3 produces valid warnings in most cases and uncovers bugs. In the
cases where a variable is known to be initialized, we initialize it and
add: /* XXX: gcc */. If a $MACHINE_ARCH's compiler is busted, it can add
-Wno-uninitialized in the MD Makefile.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Oct 1 23:11:29 2003 UTC (21 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -2 lines
Make the kernel makefiles pay attention to NOGCCERROR

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Aug 18 00:15:41 2003 UTC (21 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
allow DEBUG to be set to "-gstabs" or "-gstabs+", to enable building
netbsd.gdb.  (you need "-gstabs" for gcc3.3 and old gdb.)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jul 10 10:34:42 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 30 18:43:23 2003 UTC (21 years, 6 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
Add a CPUFLAGS variable which can be set by the user's mk.conf or in
the environment:

CPUFLAGS        Additional flags to the compiler/assembler to select
                CPU instruction set options, CPU tuning options, etc.

Since CPUFLAGS is not implicitly set by any part of the make infrastructure,
it is safe to set in mk.conf, unlike COPTS or DBG.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Mar 7 01:26:12 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +13 -1 lines
Allow a memory disk image to be statically included in the kernel
to be specified in the kernel configuration file, like so:

makeoptions	MEMORY_DISK_IMAGE="/path/to/image.fs"

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Feb 5 18:07:46 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Add ${EXTRA_OBJ} so that pre-compiled .o's can be linked into the kernel.

Revision 1.13.4.9: download - view: text, markup, annotated - select for diffs
Sun Jan 26 09:44:01 2003 UTC (21 years, 10 months ago) by jmc
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.13.4.8: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.8: +2 -2 lines
Pullup revisions 1.24-1.25 (requested by ttaka in ticket #1082)
 Back out revision 1.23, it breaks all kernel configs that do
 makeoptions     COPTS="foo"

Revision 1.3.2.11: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:44 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.3.2.10: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.10: +12 -4 lines
Sync with HEAD.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Dec 10 19:33:11 2002 UTC (22 years ago) by atatat
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -4 lines
Remove an antiquated comment and make .depend depend on config_time.h
so that the depend target can properly complete now that perry has the
time to use the time.

Revision 1.13.4.8: download - view: text, markup, annotated - select for diffs
Sun Dec 1 22:26:32 2002 UTC (22 years ago) by he
Branches: netbsd-1-6
Diff to: previous 1.13.4.7: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.7: +2 -2 lines
Pull up revision 1.23 (requested by sjg in ticket #877):
  Replace COPTS?= with COPTS+=, so that setting COPTS in
  /etc/mk.conf (common on sparc systems) does not cause the
  -O2 in DEFCOPTS to be lost, resulting an an unloadable
  kernel on sparc.

Revision 1.13.4.7: download - view: text, markup, annotated - select for diffs
Sat Nov 30 13:05:35 2002 UTC (22 years ago) by he
Branches: netbsd-1-6
Diff to: previous 1.13.4.6: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.6: +17 -2 lines
Pull up revision 1.21 (requested by thorpej in ticket #756):
  Build a .gdbinit in the kernel build directory.  The new
  .gdbinit will source all of the system-provided gdb scripts
  in sys/gdbscripts, as well as any files specified by the
  user in the GDBINIT make variable.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Nov 25 01:37:11 2002 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -1 lines
Add -Wno-sign-compare; that flag was made implicit with -Wall in
GCC 3.3, and our sources aren't really up to the task, yet.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Nov 19 04:29:19 2002 UTC (22 years ago) by atatat
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -1 lines
Alter config so that it emits a config_time.src file (the source file
for config_time.h) that contains, for example:

/* Sun Nov 17 05:37:51 2002 GMT */
#define CONFIG_TIME     1037511471
#define CONFIG_YEAR     2002
#define CONFIG_MONTH    11
#define CONFIG_DATE     17
#define CONFIG_HOUR      5
#define CONFIG_MINS     37
#define CONFIG_SECS     51

These values represent the current time as of when config was last
run, so that functions (eg, inittodr()) can use these values instead
of being updated once every year or so with the "current" time.

The associated modification to Makefile.kern.inc makes config_time.h
depend on this depend on this and the kernel Makefile, so that
granularity of kernel builds is not reduced.

Revision 1.3.2.10: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:08:23 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.9: preferred, colored
Changes since revision 1.3.2.9: +21 -8 lines
Catch up to -current

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Nov 3 21:12:27 2002 UTC (22 years, 1 month ago) by chris
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Remove an extra }

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Nov 2 07:57:05 2002 UTC (22 years, 1 month ago) by perry
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +20 -9 lines
lint infrastructure overhaul to finally lint the kernel libs right.

XXX the dependencies for the kernel .ln files are just plain wrong. We
need some sort of extended make depend hack to do it right. We will
suffer with it for now.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Oct 24 20:52:38 2002 UTC (22 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -3 lines
use -X to ignore static function unused warnings, and echo the command.

Revision 1.3.2.9: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:41:20 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.8: preferred, colored
Changes since revision 1.3.2.8: +2 -9 lines
Catch up to -current.

Revision 1.10.2.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:13 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.10.2.5: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.5: +3 -3 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Oct 6 00:07:17 2002 UTC (22 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Back out revision 1.23, it breaks all kernel configs that do

	makeoptions	COPTS="foo"

There are quite a few of those in the tree, as well.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Oct 5 17:17:48 2002 UTC (22 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -9 lines
all ports are now fully prototyped and pointer-arith clean.
turn on these warnings all the time.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Sep 29 07:22:58 2002 UTC (22 years, 2 months ago) by sjg
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Replace COPTS?= with COPTS+= so that a setting of COPTS in mk.conf
(common on sparc systems) does not cause the -O2 in DEFCOPTS to
be lost - which results in an unloadable kernel on sparc.

Reviewed by: christos

Revision 1.3.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:19:09 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.7: preferred, colored
Changes since revision 1.3.2.7: +18 -3 lines
Catch up to -current.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.10.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:43:38 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.10.2.4: preferred, colored
Changes since revision 1.10.2.4: +54 -4 lines
sync kqueue branch with HEAD

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Sep 1 23:04:47 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +17 -2 lines
Build a .gdbinit in the kernel build directory.  The new .gdbinit
will source all of the system-provided gdb scrips in sys/gdbscripts,
as well as any files specified by the user in the GDBINIT make var.

Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:17 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.3: +2 -2 lines
catch up with -current.

Revision 1.13.4.6: download - view: text, markup, annotated - select for diffs
Sat Aug 17 16:02:38 2002 UTC (22 years, 4 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2
Diff to: previous 1.13.4.5: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.5: +2 -2 lines
Pull up revision 1.20 (requested by lukem):
vers.o should also depend upon $S/conf/newvers.sh and $S/conf/osrelease.sh

Revision 1.3.2.7: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:19:16 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.6: preferred, colored
Changes since revision 1.3.2.6: +2 -2 lines
Catch up to -current.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Aug 11 10:47:24 2002 UTC (22 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
vers.o should also depend upon $S/conf/newvers.sh and $S/conf/osrelease.sh

Revision 1.3.2.6: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:29 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.5: preferred, colored
Changes since revision 1.3.2.5: +12 -6 lines
Catch up to -current.

Revision 1.13.4.5: download - view: text, markup, annotated - select for diffs
Mon Jul 15 16:08:15 2002 UTC (22 years, 5 months ago) by thorpej
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RC1
Diff to: previous 1.13.4.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.4: +10 -20 lines
pullup-1-6 ticket #496 (wrstuden).

Original log message:
Fix cscope and mkid targets so that they work even when the kernel
compile directory is not under /usr/src/sys (i.e. when 'S' is not
'../../../..'). Pointed out by Robert Elz in PR 17384.

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:35:06 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +37 -2 lines
catch up with -current.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jul 12 17:48:23 2002 UTC (22 years, 5 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -13 lines
cscope.out target needs depend too, zap old comments

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jul 2 19:52:16 2002 UTC (22 years, 5 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +10 -20 lines
Fix cscope and mkid targets so that they work even when the kernel
compile directory is not under /usr/src/sys (i.e. when 'S' is not
'../../../..'). Pointed out by Robert Elz in PR 17384.

Thanks again to Andrew Brown for figuring out how to rip .depend apart.

Revision 1.10.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:53 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.10.2.3: preferred, colored
Changes since revision 1.10.2.3: +5 -3 lines
catch up with -current on kqueue branch

Revision 1.3.2.5: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:43:17 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.4: preferred, colored
Changes since revision 1.3.2.4: +34 -4 lines
Catch up to -current.

Revision 1.13.4.4: download - view: text, markup, annotated - select for diffs
Wed Jun 19 00:03:16 2002 UTC (22 years, 6 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.13.4.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.3: +32 -5 lines
Pull up revision 1.17 (requested by wrstuden in ticket #318):
Updated version of cscope/mkid support. Check libkern and compat lib
for source files. Also include header files in mkid run.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jun 18 23:46:52 2002 UTC (22 years, 6 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +32 -5 lines
Updated version of cscope/mkid support. Check libkern and compat lib
for source files. Also include header files in mkid run.

Revision 1.13.4.3: download - view: text, markup, annotated - select for diffs
Tue Jun 18 14:54:45 2002 UTC (22 years, 6 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.13.4.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.2: +30 -1 lines
Pull up revision 1.16 (requested by wrstuden in ticket #301):
Add cscope and mkid (and cscope.out and ID) targets to kernel compile
Makefiles. The main feature added by these targets is that they cover
ONLY the source files used for a given kernel and no other. Thus when
examining MD routines provided by all machines, you will see only
those applicable for your kernel.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jun 17 20:31:26 2002 UTC (22 years, 6 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +31 -2 lines
Add cscope and mkid (and cscope.out and ID) targets to kernel compile
Makefiles. The main feature added by these targets is that they cover
ONLY the source files used for a given kernel and no other. Thus when
examining MD routines provided by all machines, you will see only
those applicable for your kernel.

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Thu May 30 14:45:16 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +3 -2 lines
Catch up with -current.

Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Wed May 29 16:32:57 2002 UTC (22 years, 6 months ago) by tv
Branches: netbsd-1-6
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.1: +1 -0 lines
Pull up revision 1.15 (requested by tv in ticket #65):
Make sure DBSYM is defined if not overridden by USETOOLS=yes.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed May 29 16:12:54 2002 UTC (22 years, 6 months ago) by tv
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Make sure DBSYM is defined if not overridden by USETOOLS=yes.

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Tue May 28 01:52:33 2002 UTC (22 years, 6 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Pull up revision 1.14 (requested by fvdl):
Add -Wno-format-zero-length, for forward compatibility with gcc 3.2.
Our in-tree gcc 2.95.3 accepts the flag as well.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun May 26 00:15:25 2002 UTC (22 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Add -Wno-format-zero-length, for forward compatibility with gcc 3.2.
Our in-tree gcc 2.95.3 accepts the flag as well.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Thu May 16 13:14:26 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Make this compile devsw.c (the initial devsw tables and conversion table)

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue May 7 02:00:17 2002 UTC (22 years, 7 months ago) by uwe
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
lint target depends on ${LINTSTUBS}, not on (nonexistent) ${KERNLINTSTUBS}.

Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:44:55 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.3: preferred, colored
Changes since revision 1.3.2.3: +2 -1 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Mar 18 15:20:08 2002 UTC (22 years, 9 months ago) by tv
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Make sure USETOOLS value is propagated (for USETOOLS?=no case in each
kernel Makefile).  Perhaps we should .include this file earlier....

Revision 1.10.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:41 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.10.2.2: preferred, colored
Changes since revision 1.10.2.2: +2 -1 lines
Catch up with -current.

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:02 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.2: preferred, colored
Changes since revision 1.3.2.2: +2 -1 lines
Catch up to -current.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 11 03:43:53 2002 UTC (22 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
make .s and .S files depend on assym.h

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:52:30 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.10.2.1: preferred, colored
Changes since revision 1.10.2.1: +283 -0 lines
Sync kqueue branch with -current.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:12 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.1: preferred, colored
Changes since revision 1.3.2.1: +283 -0 lines
Catch up to -current.

Revision 1.10.2.1
Sun Dec 23 22:45:07 2001 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.10: +0 -283 lines
file Makefile.kern.inc was added on branch kqueue on 2002-01-10 19:52:30 +0000

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Dec 23 22:45:07 2001 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Add -ffreestanding to kernel builds.  It's not always safe to
use GCC's built-ins.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Dec 10 05:24:17 2001 UTC (23 years ago) by chs
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
don't strip any symbols from profiling kernels,
that makes it harder to figure out what's going on.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:04:03 2001 UTC (23 years ago) by atatat
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -4 lines
Make the kernel depend on `vers.o' instead of `newvers'.  This
eliminates the need to unconditionally rebuild vers.o and subsequently
to relink the kernel every time you type make, even if you just
finished one.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Dec 8 15:01:41 2001 UTC (23 years ago) by atatat
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +26 -9 lines
Add the rest of the infrastructure needed to support the rest of the
ports.  This includes cleaning out DBG, cleaning up the `clean'
target, and tweaking the warnings flags (cesfic, amigappc, and the arm
ports are a little less warning resistant).

Oh, and let's `install' the kernel into ${DESTDIR} if someone says
`make install'.  We have to think about cross-compilers here.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Nov 28 03:58:25 2001 UTC (23 years ago) by atatat
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Misplaced colon.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 27 23:28:42 2001 UTC (23 years ago) by atatat
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -9 lines
Alter the way that LINKTEXT and LINKDATA (and LINKENTRY) are set so
that empty values for TEXTADDR and DATAADDR (and ENTRYPOINT) will not
screw things up.  Add support for SYSTEM_LD_TAIL_EXTRA which some
ports (not yet converted) are using.  Add support for GENASSYM_EXTRAS
which has just been added to (some of) the arm ports.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Nov 23 05:18:59 2001 UTC (23 years ago) by atatat
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +11 -13 lines
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.

Revision 1.3.2.1
Fri Nov 16 16:15:08 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.3: +0 -264 lines
file Makefile.kern.inc was added on branch nathanw_sa on 2002-01-08 00:29:12 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Nov 16 16:15:08 2001 UTC (23 years, 1 month ago) by atatat
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -2 lines
The four tools mkdep, strip, objcopy, and objdump are not part of the
defined toolchain if we're not using the new toolchain.  We need them,
so we add our own definitions here.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Nov 16 13:14:10 2001 UTC (23 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Add a MKDEP?=mkdep line so that depend targets will work again.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Nov 16 00:23:02 2001 UTC (23 years, 1 month ago) by atatat
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>