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