Commit Graph

15 Commits

Author SHA1 Message Date
chs
af5290a884 the x86 xen and non-xen modules are identical,
so remove the unneeded extra copies.
Xen kernels now use the same modules as native kernels.
2020-07-04 21:02:15 +00:00
rin
3b1af247ce Rename module directory for ibm4xx from /stand/powerpc-4xx to
/stand/powerpc-ibm4xx to match with what we set in evbppc_machdep.c:

https://nxr.netbsd.org/xref/src/sys/arch/evbppc/evbppc/evbppc_machdep.c#86

(And we use ibm4xx not 4xx for directory in sys/arch/powerpc.)

Note that we had never enabled MODULAR for ibm4xx yet; kernel with
MODULAR option was unable to build. This should be why this discrepancy
had never been found until today...
2020-06-27 06:50:00 +00:00
pgoyette
d91f98a871 Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
riastradh
d810a3da5f Include <bsd.own.mk> before using ACTIVE_CC. Fixes make errors. 2018-11-15 04:57:00 +00:00
maxv
dfbe69edb9 Don't build the module sets for non-pae-32bit-pv. Noted by John D. Baker
on port-i386@, thanks.
2018-09-19 16:11:53 +00:00
matt
9f54dfc5b9 Add support for build mips64 kernel modules as N32 2015-06-22 06:46:27 +00:00
matt
318bdaa356 Latent support for ARM_HAS_LPAE. 2015-04-17 20:13:51 +00:00
jnemeth
3481529578 Add the infrastructure for MODULAR support for Xen kernels. At
the moment, this can only load very simple modules due to missing
symbols.  It is being add at this time to make pullups to the
netbsd-7 branch easier.  It is not enabled by default in any kernels.
2014-08-11 03:43:25 +00:00
joerg
bd383df604 Put GCC/GAS options under ACTIVE_CC == "gcc". 2014-08-10 17:46:54 +00:00
joerg
0c7d9d4853 Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
2014-08-08 16:56:30 +00:00
matt
68e39eb09b Keep track of undefined symbols and then use to determine whether a wrap
is required.
2013-08-07 17:29:15 +00:00
matt
1e205987d1 awk support scripts to generate trampolines in modules.
(adapted from previous LKM method).
<machine/asm.h> now has a KMODTRAMPOLINE macro to generate the trampoline
2013-08-07 17:06:22 +00:00
matt
a2ad2b75a6 ibm4xx now uses <powerpc/pci_machdep.h> 2011-06-22 18:17:17 +00:00
matt
5b497c25ae IBM4xx now uses the pic-based intr.h 2011-06-20 20:18:43 +00:00
mrg
a2c4975d63 build evbppc modules in 3 different flavours:
- oea (default)
	- ibm4xx
	- booke

this, together with earlier machine_module[] work, should allow evbppc
platforms to use modules.
2011-06-15 09:45:58 +00:00