NetBSD/share/mk
jmmv 874cd0d0c1 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.)
2010-01-18 23:39:07 +00:00
..
bsd.dep.mk Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
bsd.doc.mk Now that we have real build system support for syspkgs, remove someone's 2006-03-16 18:43:34 +00:00
bsd.endian.mk Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
bsd.files.mk Implement FILESBUILD_<file> to allow a FILES element to be built through a 2008-12-05 18:51:16 +00:00
bsd.gcc.mk allow _GCC_*CRT* defines to be overridden in the in-tree toolchain case. 2008-10-25 19:11:28 +00:00
bsd.hostlib.mk
bsd.hostprog.mk remove libsdp as improved functionality has been enabled in libbluetooth. 2009-05-12 18:07:54 +00:00
bsd.inc.mk Now that we have real build system support for syspkgs, remove someone's 2006-03-16 18:43:34 +00:00
bsd.info.mk When processing texinfo sources, use --no-version-header to make the 2009-02-28 19:18:52 +00:00
bsd.init.mk
bsd.kernobj.mk
bsd.kinc.mk Now that we have real build system support for syspkgs, remove someone's 2006-03-16 18:43:34 +00:00
bsd.klinks.mk Move -mcmodel=kernel CFLAGS from bsd.klinks.mk to amd64/include/Makefile.inc 2009-11-27 13:50:29 +00:00
bsd.kmodule.mk Generate long calls in modules for arm32 and powerpc to avoid unsupported 2010-01-18 23:39:07 +00:00
bsd.lib.mk Add brief line on SHLIB_MAJOR, SHLIB_MINOR and SHLIB_TEENY in comments 2009-12-30 12:34:13 +00:00
bsd.links.mk Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk 2009-04-10 16:16:12 +00:00
bsd.man.mk Do not run mandoc for lintmanpages if MANPAGES is empty. 2009-10-23 23:12:10 +00:00
bsd.nls.mk Now that we have real build system support for syspkgs, remove someone's 2006-03-16 18:43:34 +00:00
bsd.obj.mk It's "its" for possessive, not "it's". 2007-12-11 14:06:04 +00:00
bsd.own.mk don't need GENCMD anymore. 2009-12-14 05:25:21 +00:00
bsd.prog.mk use "${CC} -r" not "${CC} -Wl,-r" as the latter fools GCC on some targets 2009-12-14 08:51:16 +00:00
bsd.README Add note on SHLIB_{MAJOR,MINOR,TEENY} 2009-12-30 20:45:46 +00:00
bsd.rpc.mk
bsd.shlib.mk Use /libexec/ld.elf_so instead of /usr/libexec/ld.elf_so for the 2007-08-29 21:34:17 +00:00
bsd.subdir.mk We mustn't search in the path for ${dir}.${MACHINE}; make sure we only 2009-12-19 00:14:43 +00:00
bsd.sys.mk brace a --fatal-warnings with a NOGCCERROR check. 2009-12-15 04:03:55 +00:00
bsd.test.mk Add support for a TESTS_C variable to make use of the new C-only binding 2008-05-01 15:36:36 +00:00
bsd.x11.mk The support of X for zaurus is added. 2009-12-13 05:04:36 +00:00
Makefile Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
sys.mk Remove -Wno-pointer-sign and -ffreestanding from CXXFLAGS. g++ 2008-09-07 15:54:52 +00:00