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
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportCWARNFALGS.$file centrally so we don't have to have it in all theplaces. Remove a few warning flags that are no longer needed.
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportCWARNFALGS.$file centrally so we don't have to have it in all theplaces. Remove a few warning flags that are no longer needed.Also, always use -Wno-unknown-pragma to (hopefully temporarily) workaround #pragma ident in debug.h in the opensolaris code. Remove somestale warning suppression that's no longer necessary.
show more ...
For sys/dev/ce/tau32-ddk.c, disable the following warning when buildingwith clang:sys/dev/ce/tau32-ddk.c:1228:37: warning: implicit truncation from 'int' to bitfield changes value from 65532 to 81
For sys/dev/ce/tau32-ddk.c, disable the following warning when buildingwith clang:sys/dev/ce/tau32-ddk.c:1228:37: warning: implicit truncation from 'int' to bitfield changes value from 65532 to 8188 [-Wconstant-conversion]Since this file is obfuscated C, we can never determine (in a sane way,at least :) if this points to a real problem or not. The driver hasbeen in the tree for more than five years, so it most likely isn't.MFC after: 1 week
Per email to arch@ a little while ago (that was greeted with silence),prefer the more common > ${.TARGET} over > opt_foo.h in modulesmakefiles.
NO_MAN is not needed here.
Fix the decaying MODULES_WITH_WORLD again by adding a missing opt_*.h to SRCS.
Add makefile for ce(4) module.