67
68 #
69 # Turn on doubleword alignment for 64 bit registers
70 #
71 CFLAGS += -dalign
72
73 #
74 # For now, disable these lint checks; maintainers should endeavor
75 # to investigate and remove these for maximum lint coverage.
76 # Please do not carry these forward to new Makefiles.
77 #
78 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
79 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
80 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
81 LINTTAGS += -erroff=E_STATIC_UNUSED
82 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
83 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
84
85 CERRWARN += -_gcc=-Wno-parentheses
86 CERRWARN += -_gcc=-Wno-type-limits
87 CERRWARN += -_gcc=-Wno-uninitialized
88 CERRWARN += -_gcc=-Wno-unused-function
89 CERRWARN += -_gcc=-Wno-unused-variable
90 CERRWARN += -_gcc=-Wno-unused-label
91
92 #
93 # Dependency
94 #
95 LDFLAGS += -dy -Nmisc/pcie
96
97 #
98 # Default build targets.
99 #
100 .KEEP_STATE:
101
102 def: $(DEF_DEPS)
103
104 all: $(ALL_DEPS)
105
106 clean: $(CLEAN_DEPS)
107
|
67
68 #
69 # Turn on doubleword alignment for 64 bit registers
70 #
71 CFLAGS += -dalign
72
73 #
74 # For now, disable these lint checks; maintainers should endeavor
75 # to investigate and remove these for maximum lint coverage.
76 # Please do not carry these forward to new Makefiles.
77 #
78 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
79 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
80 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
81 LINTTAGS += -erroff=E_STATIC_UNUSED
82 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
83 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
84
85 CERRWARN += -_gcc=-Wno-parentheses
86 CERRWARN += -_gcc=-Wno-type-limits
87 CERRWARN += $(CNOWARN_UNINIT)
88 CERRWARN += -_gcc=-Wno-unused-function
89 CERRWARN += -_gcc=-Wno-unused-variable
90 CERRWARN += -_gcc=-Wno-unused-label
91
92 #
93 # Dependency
94 #
95 LDFLAGS += -dy -Nmisc/pcie
96
97 #
98 # Default build targets.
99 #
100 .KEEP_STATE:
101
102 def: $(DEF_DEPS)
103
104 all: $(ALL_DEPS)
105
106 clean: $(CLEAN_DEPS)
107
|