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
Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc.
Drop <bsd.man.mk> support from <bsd.kmod.mk>.Not objected to by: -current
Build modules from the main src/sys tree.Tidy up some loose ends.. there were extra -I's being added to CFLAGS forno reason.
Added necessary include for pc98.
Added PC-98 apm support.Submitted by: MURAMATSU Atsushi <[email protected]>
select() DKI is now in <sys/selinfo.h>.
Use a consistent style and one much closer to the rest of /usr/src
Don't needlessly indirect the APM softstate. It does nothing butobfuscate the code.
Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofencoding the relative path.
Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.This means that the kernel can be totally self contained now and is notdependent on the last buildworld to update /usr/share/mk. Thi
Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.This means that the kernel can be totally self contained now and is notdependent on the last buildworld to update /usr/share/mk. This mightalso make it easier to build 5.x kernels on 4.0 boxes etc, assuminggensetdefs and config(8) are updated.
show more ...
Add the apm_saver syscons screen saver module.apm_saver uses the apm_display() routine from the apm system to"suspend" the "display" part of the machine.This is beneficial for some laptops (or o
Add the apm_saver syscons screen saver module.apm_saver uses the apm_display() routine from the apm system to"suspend" the "display" part of the machine.This is beneficial for some laptops (or other machines withnon-traditional displays) that choke on the 'green' saver'seffect.Another way of looking at this is that it's the same as a screensaver that does an 'apm -d 0' to blank the display and an 'apm -d 1'to bring it back. One probably ought to use these commands to makesure the effect will be correct before using it unattended.