104
105 #
106 # lint pass one enforcement
107 # Turn on doubleword alignment for 64 bit counter timer registers
108 #
109 CFLAGS += $(CCVERBOSE) -dalign
110
111 #
112 # For now, disable these lint checks; maintainers should endeavor
113 # to investigate and remove these for maximum lint coverage.
114 # Please do not carry these forward to new Makefiles.
115 #
116 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
117 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
118 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
119 LINTTAGS += -erroff=E_STATIC_UNUSED
120 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
121 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
122
123 CERRWARN += -_gcc=-Wno-parentheses
124 CERRWARN += -_gcc=-Wno-uninitialized
125 CERRWARN += -_gcc=-Wno-char-subscripts
126 CERRWARN += -_gcc=-Wno-unused-variable
127 CERRWARN += -_gcc=-Wno-unused-function
128 CERRWARN += -_gcc=-Wno-unused-label
129 CERRWARN += -_gcc=-Wno-type-limits
130 CERRWARN += -_gcc=-Wno-clobbered
131 CERRWARN += -_gcc=-Wno-empty-body
132 CERRWARN += -_gcc=-Wno-unused-value
133 CERRWARN += -_gcc=-Wno-switch
134
135 #
136 # Default build targets.
137 #
138 .KEEP_STATE:
139
140 def: $(DEF_DEPS)
141
142 all: $(ALL_DEPS)
143
144 clean: $(CLEAN_DEPS)
|
104
105 #
106 # lint pass one enforcement
107 # Turn on doubleword alignment for 64 bit counter timer registers
108 #
109 CFLAGS += $(CCVERBOSE) -dalign
110
111 #
112 # For now, disable these lint checks; maintainers should endeavor
113 # to investigate and remove these for maximum lint coverage.
114 # Please do not carry these forward to new Makefiles.
115 #
116 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
117 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
118 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
119 LINTTAGS += -erroff=E_STATIC_UNUSED
120 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
121 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
122
123 CERRWARN += -_gcc=-Wno-parentheses
124 CERRWARN += $(CNOWARN_UNINIT)
125 CERRWARN += -_gcc=-Wno-char-subscripts
126 CERRWARN += -_gcc=-Wno-unused-variable
127 CERRWARN += -_gcc=-Wno-unused-function
128 CERRWARN += -_gcc=-Wno-unused-label
129 CERRWARN += -_gcc=-Wno-type-limits
130 CERRWARN += -_gcc=-Wno-clobbered
131 CERRWARN += -_gcc=-Wno-empty-body
132 CERRWARN += -_gcc=-Wno-unused-value
133 CERRWARN += -_gcc=-Wno-switch
134
135 #
136 # Default build targets.
137 #
138 .KEEP_STATE:
139
140 def: $(DEF_DEPS)
141
142 all: $(ALL_DEPS)
143
144 clean: $(CLEAN_DEPS)
|