64
65 #
66 # Define dependency on specfs
67 #
68 LDFLAGS += -dy -N fs/specfs
69
70 #
71 # For now, disable these lint checks; maintainers should endeavor
72 # to investigate and remove these for maximum lint coverage.
73 # Please do not carry these forward to new Makefiles.
74 #
75 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
76 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
77 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
78 LINTTAGS += -erroff=E_STATIC_UNUSED
79 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
80 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
81
82 CERRWARN += -_gcc=-Wno-parentheses
83 CERRWARN += -_gcc=-Wno-unused-label
84 CERRWARN += -_gcc=-Wno-uninitialized
85 CERRWARN += -_gcc=-Wno-type-limits
86
87 #
88 # Default build targets.
89 #
90 .KEEP_STATE:
91
92 def: $(DEF_DEPS)
93
94 all: $(ALL_DEPS)
95
96 clean: $(CLEAN_DEPS)
97
98 clobber: $(CLOBBER_DEPS)
99
100 lint: $(LINT_DEPS)
101
102 modlintlib: $(MODLINTLIB_DEPS)
103
104 clean.lint: $(CLEAN_LINT_DEPS)
|
64
65 #
66 # Define dependency on specfs
67 #
68 LDFLAGS += -dy -N fs/specfs
69
70 #
71 # For now, disable these lint checks; maintainers should endeavor
72 # to investigate and remove these for maximum lint coverage.
73 # Please do not carry these forward to new Makefiles.
74 #
75 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
76 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
77 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
78 LINTTAGS += -erroff=E_STATIC_UNUSED
79 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
80 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
81
82 CERRWARN += -_gcc=-Wno-parentheses
83 CERRWARN += -_gcc=-Wno-unused-label
84 CERRWARN += $(CNOWARN_UNINIT)
85 CERRWARN += -_gcc=-Wno-type-limits
86
87 #
88 # Default build targets.
89 #
90 .KEEP_STATE:
91
92 def: $(DEF_DEPS)
93
94 all: $(ALL_DEPS)
95
96 clean: $(CLEAN_DEPS)
97
98 clobber: $(CLOBBER_DEPS)
99
100 lint: $(LINT_DEPS)
101
102 modlintlib: $(MODLINTLIB_DEPS)
103
104 clean.lint: $(CLEAN_LINT_DEPS)
|