sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Remove EISA support from dpt. Remove known EISA models fromdpt.4. Remove EISA-only bits from dpt_scsi.c.
Cleanup the way we include some files (in this case EISA) based onkernel config. Also tidy up the ed options.
Remove dpt_isa.c and commented out references to it. It was never connectedto the build in either sys/conf/files* or sys/modules/dpt/Makefile. Also,it was denoted as "doesn't quite work yet" when
Remove dpt_isa.c and commented out references to it. It was never connectedto the build in either sys/conf/files* or sys/modules/dpt/Makefile. Also,it was denoted as "doesn't quite work yet" when the file was initially added(which may account for it never having been hooked up to the build).
show more ...
Remove dependence on source tree options. Move all kernel moduleoptions into kern.opts.mk and change all the places where we usesrc.opts.mk to pull in the options. Conditionally define SYSDIR andu
Remove dependence on source tree options. Move all kernel moduleoptions into kern.opts.mk and change all the places where we usesrc.opts.mk to pull in the options. Conditionally define SYSDIR anduse SYSDIR/conf/kern.opts.mk instead of a CURDIR path. Replace allinstances of CURDIR/../../etc with STSDIR, but only in the affectedfiles.As a special compatibility hack, include bsd.owm.mk at the top ofkern.opts.mk to allow the bare build of sys/modules to work on oldersystems. If the defaults ever change between 9.x, 10.x and current forthese options, however, you'll wind up with the host OS' defaultsrather than the -current defaults. This hack will be removed whenwe no longer need to support this build scenario.Reviewed by: jhbDifferential Revision: https://phabric.freebsd.org/D529
Use src.opts.mk in preference to bsd.own.mk except where we need stufffrom the latter.
Don't build EISA by default anymore. Remove from i386 GENERIC andcreate an option that defaults to "no" on all platforms to not buildthe EISA bits.Discussed on: arch@
On i386 compile the back-end with EISA support as well as the EISAfront-end if the dpt(4) module is built along with a kernel thatincludes eisa(4) or when compiling it stand-alone (logic based ont
On i386 compile the back-end with EISA support as well as the EISAfront-end if the dpt(4) module is built along with a kernel thatincludes eisa(4) or when compiling it stand-alone (logic based onthe corresponding ISA logic in sys/modules/sound/sound/Makefile).As as side-effect this fixes the stand-alone build of the dpt(4)module after dpt.h 1.17, dpt_eisa.c 1.22 and dpt_scsi.c 1.55.Breakage reported by: n_hibma
Add module infrastructure for 'dpt' driver.