The NetBSD Project

CVS log for src/share/mk/bsd.kmodule.mk

[BACK] Up to [cvs.NetBSD.org] / src / share / mk

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.84 / (download) - annotate - [select for diffs], Sat Jun 3 21:26:28 2023 UTC (9 months, 3 weeks ago) by lukem
Branch: MAIN
CVS Tags: HEAD
Changes since 1.83: +2 -3 lines
Diff to previous 1.83 (colored)

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.83 / (download) - annotate - [select for diffs], Sat Jun 3 08:52:56 2023 UTC (9 months, 3 weeks ago) by lukem
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

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.82 / (download) - annotate - [select for diffs], Sun May 7 12:41:48 2023 UTC (10 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).

Revision 1.81 / (download) - annotate - [select for diffs], Sun Aug 7 23:42:09 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 (colored)

bsd.kmodule.mk: Build modules with KDTRACE_HOOKS if MKDTRACE=yes.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Aug 3 09:37:36 2022 UTC (19 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

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.79 / (download) - annotate - [select for diffs], Sun Jul 17 14:10:55 2022 UTC (20 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 (colored)

bsd.kmodule.mk: Also sync no-address-of-packed-member.

This is not actually a good idea to disable -- it can lead to real
problems -- but let's just make it the same for the kernel build and
module builds.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Jul 17 13:38:06 2022 UTC (20 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

bsd.kmodule.mk: Use -Wno-attributes like conf/Makefie.kern.inc.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Mar 29 22:48:04 2022 UTC (23 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.76: +4 -4 lines
Diff to previous 1.76 (colored)

get rid of old style `` command substitution in shell and use $() instead.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Mar 29 05:22:49 2021 UTC (3 years ago) by simonb
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.75: +3 -1 lines
Diff to previous 1.75 (colored)

On MIPS if we compile C files as N64, compile assembly with the same ABI.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Mar 23 13:22:40 2021 UTC (3 years ago) by simonb
Branch: MAIN
Changes since 1.74: +7 -1 lines
Diff to previous 1.74 (colored)

Work in progress for MIPS modules.  Only tested on mipseb64, not yet
enabled anywhere.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Mar 7 07:37:35 2021 UTC (3 years ago) by rin
Branch: MAIN
Changes since 1.73: +3 -1 lines
Diff to previous 1.73 (colored)

Build modules for PPC_OEA64 on evbppc64.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Mar 7 07:30:15 2021 UTC (3 years ago) by rin
Branch: MAIN
Changes since 1.72: +6 -6 lines
Diff to previous 1.72 (colored)

whitespace --> tab. No functional changes.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Oct 18 19:57:44 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.71: +2 -3 lines
Diff to previous 1.71 (colored)

Handle the no-addr-of-packed-member only for the files that need it, not
globally.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Sep 10 02:34:13 2020 UTC (3 years, 6 months ago) by rin
Branch: MAIN
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored)

Turn off -mpltseq for kernel modules on powerpc for GCC >= 9.

Otherwise, object files compiled with -mlongcall contain relocation types
referring PLT, which our in-kernel linker cannot handle.

This ends up with failure in kernel module load with
``kobj_reloc: unexpected relocation type 31'' (31 == R_PPC_PLT16_HA here).

See descriptions for -mlongcall in gcc(1) of GCC9 for more details.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Sep 6 07:20:28 2020 UTC (3 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored)

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.69 / (download) - annotate - [select for diffs], Mon Jul 27 08:26:09 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Don't define _LKM. LKMs are dead. Long live modules.

Revision 1.68 / (download) - annotate - [select for diffs], Mon May 11 10:21:24 2020 UTC (3 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

Update the list of hppa options to build working kernel modules.

Revision 1.67 / (download) - annotate - [select for diffs], Sat May 2 09:15:30 2020 UTC (3 years, 10 months ago) by rin
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Fix previous; add missing <module>.kmod.debug to realall.

Revision 1.66 / (download) - annotate - [select for diffs], Fri May 1 22:23:00 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.65: +49 -24 lines
Diff to previous 1.65 (colored)

Install <module>.kmod.debug files for kernel crash debugging.

Revision 1.59.14.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:26 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.59.14.2: +5 -0 lines
Diff to previous 1.59.14.2 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.59.14.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:23 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.59.14.1: +12 -3 lines
Diff to previous 1.59.14.1 (colored) to branchpoint 1.59 (colored)

Merge changes from current as of 20200406

Revision 1.65 / (download) - annotate - [select for diffs], Sat Apr 4 23:19:08 2020 UTC (3 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

make sure _OSRELEASE is defined where it is needed.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Apr 4 19:50:53 2020 UTC (3 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.63: +8 -1 lines
Diff to previous 1.63 (colored)

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.62.2.1 / (download) - annotate - [select for diffs], Sun Dec 8 14:36:21 2019 UTC (4 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.62: +4 -2 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #512):

	share/mk/bsd.kmodule.mk: revision 1.63

Build aarch64 modules without fp or simd instructions.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Dec 1 20:24:47 2019 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp
Changes since 1.62: +4 -2 lines
Diff to previous 1.62 (colored)

Build aarch64 modules without fp or simd instructions.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jul 5 08:28:16 2019 UTC (4 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.61: +6 -1 lines
Diff to previous 1.61 (colored)

When building a module keep symbols if built with "MKCTF" and "COPTS=-g".

Revision 1.59.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:42 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.59: +2 -36 lines
Diff to previous 1.59 (colored)

Sync with HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Thu May 9 23:34:51 2019 UTC (4 years, 10 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.60: +1 -35 lines
Diff to previous 1.60 (colored)

G/C unused code.
gcc -combine is no longer a thing, so this entire block isn't usable.

Revision 1.59.12.1 / (download) - annotate - [select for diffs], Sat Jan 26 21:59:58 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jan 21 21:11:54 2019 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Most of the mv operations are to move temporary files to their final place.
Some use -f, others don't. This can lead to spurious build failures when
the user performing the build changes. Centralize, and always use -f.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:08 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jan 11 12:19:43 2017 UTC (7 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored)

Disable a couple of warnings until further investigation.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Feb 2 18:38:10 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.57: +5 -1 lines
Diff to previous 1.57 (colored)

Add the missing CTFMERGE step.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jan 30 04:07:27 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.56: +8 -6 lines
Diff to previous 1.56 (colored)

Make ctfconvert remove the debugging symbols after it is done converting them.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jan 30 03:38:39 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.55: +6 -1 lines
Diff to previous 1.55 (colored)

If we are building CTF, keep debugging symbols.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jul 9 14:50:08 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

Add _MKTARGET_LINK

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jun 24 13:42:53 2015 UTC (8 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Don't add anything to CFLAGS/LDFLAGS on mips64 is BSD_MK_COMPAT_FILE is set.

Revision 1.53 / (download) - annotate - [select for diffs], Sat May 2 18:18:13 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.52: +7 -1 lines
Diff to previous 1.52 (colored)

For mips64, build kmodules using N64 ABI

Revision 1.52 / (download) - annotate - [select for diffs], Thu Nov 13 02:31:24 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.51: +15 -14 lines
Diff to previous 1.51 (colored)

do the dependencies in a simpler way using a separate target

Revision 1.51 / (download) - annotate - [select for diffs], Thu Nov 13 01:09:59 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.50: +5 -3 lines
Diff to previous 1.50 (colored)

If mkldscript.sh is used to build ${PROG}, depend on it.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Nov 12 19:33:32 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.49: +6 -4 lines
Diff to previous 1.49 (colored)

sync both instances of the ldscript.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Nov 12 13:24:34 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

add -t to mkldscript

Revision 1.48 / (download) - annotate - [select for diffs], Wed Nov 12 02:50:01 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

use ${HOST_SH}

Revision 1.47 / (download) - annotate - [select for diffs], Wed Nov 12 02:19:28 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.46: +20 -3 lines
Diff to previous 1.46 (colored)

Enable dynamic link script generation to handle __{start,stop}_link_set_*
via a variable; perhaps delete the variable and always do it?

Revision 1.46 / (download) - annotate - [select for diffs], Thu Nov 6 12:05:44 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.45: +8 -3 lines
Diff to previous 1.45 (colored)

Leave .map when linking .kmod.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Sep 19 17:45:42 2014 UTC (9 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored)

Add RISCV-V support.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:38 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.37: +45 -2 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Aug 10 17:44:26 2014 UTC (9 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Put GCC/GAS specific options under ACTIVE_CC == "gcc".

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:37:53 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.33.2.2: +44 -1 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

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.43 / (download) - annotate - [select for diffs], Mon Mar 10 12:13:14 2014 UTC (10 years ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

-mcmodel option is CPU specific not machine specific.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Feb 21 20:44:03 2014 UTC (10 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.41: +3 -2 lines
Diff to previous 1.41 (colored)

Use small code model for LLVM on SPARC64, it should be equivalent to
GCC's medlow.

Revision 1.13.2.1.2.1.2.3 / (download) - annotate - [select for diffs], Sat Feb 15 17:48:37 2014 UTC (10 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.13.2.1.2.1.2.2: +2 -1 lines
Diff to previous 1.13.2.1.2.1.2.2 (colored) to branchpoint 1.13.2.1.2.1 (colored) next main 1.13.2.2 (colored)

kernel uses -std=gnu99

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 9 22:40:15 2013 UTC (10 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

use -fno-unwind-tables when building arm modules

Revision 1.40 / (download) - annotate - [select for diffs], Wed Sep 18 09:25:20 2013 UTC (10 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.39: +6 -1 lines
Diff to previous 1.39 (colored)

When compiling kernel modules on sparc64 force the same memory model as
we force for the kernel (i.e. do not rely on compiler defaults here)

Revision 1.39 / (download) - annotate - [select for diffs], Wed Aug 7 17:36:11 2013 UTC (10 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.38: +37 -2 lines
Diff to previous 1.38 (colored)

Add support for generating tramponlines in the module at link time.
This is done using some awk scripts and KMODTRAMPOLINE in <machine/asm.h>
It's not as efficient as having the kloader do it but it is a lot simpler.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 6 06:08:39 2013 UTC (10 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored)

Add -mlong-calls to hppa module builds.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:46 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.33.2.1: +1 -3 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Fri Aug 10 16:34:23 2012 UTC (11 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.36: +1 -3 lines
Diff to previous 1.36 (colored)

Remove effectively tautological condition.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:50 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.33: +32 -4 lines
Diff to previous 1.33 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 15 02:00:52 2012 UTC (12 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Decouple HAVE_LLVM from HAVE_GCC. For GCC, add -Wno-format-zero-length
when -Wformat is used.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Feb 19 23:19:37 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.34: +30 -2 lines
Diff to previous 1.34 (colored)

Add support for --combine with gcc.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Fri Feb 17 00:08:37 2012 UTC (12 years, 1 month ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up following revision(s) (requested by christos in ticket #6):
	distrib/sets/sets.subr: revision 1.136
	share/mk/bsd.kmodule.mk: revision 1.34
	sys/conf/osrelease.sh: revision 1.122
Add new -k (for kernel modules) flag to return MM.99.pp for current and MM.mm
for the release branch.
use osrelease -k to avoid that the path is 6.0_BETA
use osrelease.sh -k instead of hand-rolled logic.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Feb 16 23:58:15 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

use osrelease -k to avoid that the path is 6.0_BETA

Revision 1.33 / (download) - annotate - [select for diffs], Sun Sep 11 18:38:03 2011 UTC (12 years, 6 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Move SYSCTL_USE_DESCR to a better place.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Sep 10 16:57:35 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.31: +3 -5 lines
Diff to previous 1.31 (colored)

Move all "clean" and "cleandir" processing to a new bsd.clean.mk
file, as proposed in tech-toolchain.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 14 18:12:35 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

VAX kernel modules need to be built with -fno-pic

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:46 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jun 20 07:44:00 2011 UTC (12 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

remove most of the remaining HAVE_GCC tests that are always true in
the modern world.

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 17 01:12:34 2011 UTC (12 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

Enable c99 mode by default.

This has the side effect of complaining for missing prototypes
implicit type declarations and missing return statements.

NB:	I've only ran a build on amd64, so other platforms MI code might break.
	If you can't wait for me to fix them, revert this commit.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Apr 17 09:47:40 2011 UTC (12 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.27: +29 -5 lines
Diff to previous 1.27 (colored)

prepare for evbppc modules, and allow overriding the ${MACHINE} for
installed modules.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 2 19:24:47 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Kernels modules are c99 (gnu99) just like the kernel.
Add(move) -std=gnu99 to CPPFLAGS (from COPTS).

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 11 18:42:33 2010 UTC (13 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Revert last, gcc(1) checks explicitly for -r on some platforms to disable
passing down --relax as well.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 8 02:04:13 2010 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

gcc passes down -r directly to ld, so make it explicitly a linker option.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 18 23:39:07 2010 UTC (14 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.23: +13 -1 lines
Diff to previous 1.23 (colored)

Generate long calls in modules for arm32 and powerpc to avoid unsupported
relocations by the module loader in the kernel.  This makes modules work
in, at least, shark and macppc respectively.

This is obviously a workaround that results in slower code, but at least
makes modules work.  I'm adding a comment detailing what the real solution
would be so that the whole thing can be revisited in the future.  (Read:
I don't have time now to dig the details of how to implement trampoline
generation.)

(Based on the old bsd.kmod.mk file, I understand that hppa needs this
workaround too, but I can't check this platform.)

Revision 1.13.2.1.2.1.2.2 / (download) - annotate - [select for diffs], Tue Dec 22 04:47:25 2009 UTC (14 years, 3 months ago) by mrg
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.13.2.1.2.1.2.1: +2 -2 lines
Diff to previous 1.13.2.1.2.1.2.1 (colored) to branchpoint 1.13.2.1.2.1 (colored)

use ${CC} -r not -Wl,-r, from -current.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Dec 14 08:51:16 2009 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

use "${CC} -r" not "${CC} -Wl,-r" as the latter fools GCC on some targets
and it ends up passing "-r -relax" to ld, which causes ld to barf.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Dec 14 01:00:46 2009 UTC (14 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

Merge from matt-nb5-mips64

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 10 14:47:52 2009 UTC (14 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 8 22:27:09 2009 UTC (14 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Update for new binutils location.

XXX Why is kmodule under binutils anyway?

Revision 1.13.2.1.2.1.2.1 / (download) - annotate - [select for diffs], Sat Sep 5 03:38:23 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.13.2.1.2.1: +3 -2 lines
Diff to previous 1.13.2.1.2.1 (colored)

Change ${LD} -r to ${CC} ${LDFLAGS} -nostdlib -Wl,-r
This is so ${CC} will invoke ld with appropriate options generated from
${LDFLAGS}

Revision 1.13.2.1.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 22:10:49 2009 UTC (14 years, 9 months ago) by bouyer
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u1-k1-k5
Branch point for: matt-nb5-mips64
Changes since 1.13.2.1: +4 -1 lines
Diff to previous 1.13.2.1 (colored) next main 1.13.2.2 (colored)

Pull up following revision(s) (requested by snj in ticket #790):
	share/mk/bsd.lib.mk: revision 1.298
	share/mk/bsd.man.mk: revision 1.100
	share/mk/bsd.hostprog.mk: revision 1.55
	distrib/sets/maketars: revision 1.66
	share/zoneinfo/Makefile: revision 1.43
	share/mk/bsd.kmodule.mk: revision 1.19
	usr.bin/xinstall/xinstall.c: revisions 1.106 - 1.108 via patch
	share/mk/bsd.prog.mk: revision 1.241
	share/dict/Makefile: revision 1.17
	share/mk/bsd.README: revision 1.249
	distrib/common/parselist.awk: revision 1.16
	share/mk/bsd.links.mk: revision 1.34
Explicitly sort entries on preparing set files from METALOG.
METALOG could have different order due to install(1) race
on parallel builds, and mtree(8) doesn't sort files.
Should fix inconsistent shared sets among builds as seen in
/pub/NetBSD-daily/netbsd-5/200904010000Z/shared/ and
/pub/NetBSD-daily/netbsd-5/200904010002Z/shared/ dirs.
Okay'ed by snj@.
Changes for installing with a metalog:
* When installing hard links and using a metalog, if -o, -g, -m, or -f
  args were explicitly specified on the command line, then believe them,
  but do not implicitly believe uname/gname/mode/flags from the file
  system.
* Output fields in the same order used by mtree.
Fix -Wshadow -Wcast-qual issues
Re-calculate size and digestresult after stripping, to ensure that
correct values appear in the metalog.
Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.
Also change a few things that called ${INSTALL_LINK} without going
through bsd.links.mk.
Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 22:10:12 2009 UTC (14 years, 9 months ago) by bouyer
Branch: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.13.2.1: +4 -1 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Pull up following revision(s) (requested by snj in ticket #790):
	share/mk/bsd.lib.mk: revision 1.298
	share/mk/bsd.man.mk: revision 1.100
	share/mk/bsd.hostprog.mk: revision 1.55
	distrib/sets/maketars: revision 1.66
	share/zoneinfo/Makefile: revision 1.43
	share/mk/bsd.kmodule.mk: revision 1.19
	usr.bin/xinstall/xinstall.c: revisions 1.106 - 1.108 via patch
	share/mk/bsd.prog.mk: revision 1.241
	share/dict/Makefile: revision 1.17
	share/mk/bsd.README: revision 1.249
	distrib/common/parselist.awk: revision 1.16
	share/mk/bsd.links.mk: revision 1.34
Explicitly sort entries on preparing set files from METALOG.
METALOG could have different order due to install(1) race
on parallel builds, and mtree(8) doesn't sort files.
Should fix inconsistent shared sets among builds as seen in
/pub/NetBSD-daily/netbsd-5/200904010000Z/shared/ and
/pub/NetBSD-daily/netbsd-5/200904010002Z/shared/ dirs.
Okay'ed by snj@.
Changes for installing with a metalog:
* When installing hard links and using a metalog, if -o, -g, -m, or -f
  args were explicitly specified on the command line, then believe them,
  but do not implicitly believe uname/gname/mode/flags from the file
  system.
* Output fields in the same order used by mtree.
Fix -Wshadow -Wcast-qual issues
Re-calculate size and digestresult after stripping, to ensure that
correct values appear in the metalog.
Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.
Also change a few things that called ${INSTALL_LINK} without going
through bsd.links.mk.
Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:16 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.19 / (download) - annotate - [select for diffs], Fri Apr 10 16:16:12 2009 UTC (14 years, 11 months ago) by apb
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored)

Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.

Also change a few things that called ${INSTALL_LINK} without going
through bsd.links.mk.

Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 24 22:14:45 2009 UTC (15 years, 2 months ago) by rmind
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

Revert path of modules back to "/stand".

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 24 00:29:13 2009 UTC (15 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Change path to kernel modules from "/stand" to "/kernel".
Needs to go in before 5.0.  Proposed on <tech-kern>.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu Dec 4 02:18:06 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1
Branch point for: netbsd-5-0
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Pull up following revision(s) (requested by hubertf in ticket #162):
	share/mk/bsd.kmodule.mk: revision 1.16
Work around a bug in Solaris' shs (both /bin and /usr/xpg4/bin)
where "for d in ; ..." results in a syntax error.
Suggested by apb@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Nov 30 22:05:56 2008 UTC (15 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Work around a bug in Solaris' shs (both /bin and /usr/xpg4/bin)
where "for d in ; ..." results in a syntax error.

Suggested by apb@

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 12 12:35:54 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 5 00:54:25 2008 UTC (15 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

Don't build kernel modules with PIE.

Discussed with and okay christos@.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 14 18:31:42 2008 UTC (15 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-5-base, matt-mips64-base2
Branch point for: netbsd-5
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

find the kmodule ldscript in the source tree again.

should fix a build issue reported by jmcneill.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 12 23:00:54 2008 UTC (15 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

- install ldscripts on sparc64
- move ldscripts to /usr/libdata/ldscripts

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:24 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10.2.2: +1 -1 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:38:09 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.3.2.1: +2 -2 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 24 06:27:00 2008 UTC (15 years, 7 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, mjf-devfs2-base
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Honour HAVE_PCC

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:03 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.3: +21 -56 lines
Diff to previous 1.3 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:39 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.3.4.2: +20 -55 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:43 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10.2.1: +100 -0 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Sync with HEAD.

Revision 1.10.2.1, Sat May 31 19:58:35 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10: +0 -100 lines
FILE REMOVED

file bsd.kmodule.mk was added on branch mjf-devfs2 on 2008-06-02 13:21:43 +0000

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 31 19:58:35 2008 UTC (15 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: mjf-devfs2
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Fix two bugs to make MKMODULAR=yes builds will work again, for the
first time.

share/mk/bsd.kmodule.mk: only set _INST_DIRS if KMODULEDIR is not
    set.  That we we avoid installing some bogus directories in
    the DESTDIR and in $DESTDIR/METALOG.

tests/modules/k_helper/Makefile: add missing .include <bsd.own.mk>,
    and set the KMODULEDIR that the author seems to have intended.

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 21 19:56:30 2008 UTC (15 years, 10 months ago) by he
Branch: MAIN
Changes since 1.8: +8 -1 lines
Diff to previous 1.8 (colored)

Do ${INSTALL_DIR} on all the intermediate directory levels from
the top of the tree down to where the kernel modules are installed,
so that unprivileged builds have a chance at working again.

Note, to use this fix in a tree where you've already hit on this
problem, you need to manually remove the kernel modules in
$DESTDIR/stand/<arch/, and then reinstall them from sys/modules/.

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 21 03:48:42 2008 UTC (15 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

Don't echo 'hello sh' when installing modules :-)

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 20 19:01:11 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.6: +14 -5 lines
Diff to previous 1.6 (colored)

Install kernel modules into the proper locations, taking machine and
kernel version into account.

Revision 1.6 / (download) - annotate - [select for diffs], Tue May 20 12:18:45 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: hpcarm-cleanup-nbase
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

fno-zero-initialized-in-bss no longer required.

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 20 12:17:49 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored)

Use an ldscript to merge kernel modules' .bss sections into .data. Passing
-fno-common -fno-zero-initialized-in-bss to gcc does not work, and objcopy
refuses to expand the bss section.

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 20 12:08:05 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.3: +1 -50 lines
Diff to previous 1.3 (colored)

Kill the tramp stuff, since it can be handled with lkm_map.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Sun May 18 12:31:18 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.3.4.1: +135 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.3.4.1, Sat May 3 15:48:15 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.3: +0 -135 lines
FILE REMOVED

file bsd.kmodule.mk was added on branch yamt-pf42 on 2008-05-18 12:31:18 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 3 15:48:15 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-pf42-base
Branch point for: yamt-pf42, wrstuden-revivesa
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Pass -d to the linker, to assign space to common objects up front. The kernel
linker isn't smart enough to do that...

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 2 23:12:01 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Build and install modules into /kernel/modules. Each module gets a
directory for properties, blobs, etc. It's not fixed in stone and
can easily be changed if there are issues with the location/layout.

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 2 14:20:50 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN

- Add a bsd.kmodule.mk to build new style modules.
- Set the file suffix to .kmod

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>