57
58 #
59 # depends on misc/acpica and misc/pcie
60 #
61 # acpica supplies ACPI access routines
62 #
63 # pcie supplies PCI Express fabric error support
64 #
65 LDFLAGS += -dy -Nmisc/acpica -Nmisc/pcie
66
67 #
68 # Name of the module is needed by the source, to distinguish from other
69 # PCI/PCI-express nexi
70 #
71 CFLAGS += -D_MODULE_NAME="\"$(MODULE)\""
72 LINTFLAGS += -D_MODULE_NAME="\"$(MODULE)\""
73
74 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
75 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
76
77 CERRWARN += -_gcc=-Wno-uninitialized
78 CERRWARN += -_gcc=-Wno-parentheses
79 CERRWARN += -_gcc=-Wno-unused-function
80
81 #
82 # Default build targets.
83 #
84 .KEEP_STATE:
85
86 def: $(DEF_DEPS)
87
88 all: $(ALL_DEPS)
89
90 clean: $(CLEAN_DEPS)
91
92 clobber: $(CLOBBER_DEPS)
93
94 lint: $(LINT_DEPS)
95
96 modlintlib: $(MODLINTLIB_DEPS)
97
|
57
58 #
59 # depends on misc/acpica and misc/pcie
60 #
61 # acpica supplies ACPI access routines
62 #
63 # pcie supplies PCI Express fabric error support
64 #
65 LDFLAGS += -dy -Nmisc/acpica -Nmisc/pcie
66
67 #
68 # Name of the module is needed by the source, to distinguish from other
69 # PCI/PCI-express nexi
70 #
71 CFLAGS += -D_MODULE_NAME="\"$(MODULE)\""
72 LINTFLAGS += -D_MODULE_NAME="\"$(MODULE)\""
73
74 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
75 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
76
77 CERRWARN += $(CNOWARN_UNINIT)
78 CERRWARN += -_gcc=-Wno-parentheses
79 CERRWARN += -_gcc=-Wno-unused-function
80
81 #
82 # Default build targets.
83 #
84 .KEEP_STATE:
85
86 def: $(DEF_DEPS)
87
88 all: $(ALL_DEPS)
89
90 clean: $(CLEAN_DEPS)
91
92 clobber: $(CLOBBER_DEPS)
93
94 lint: $(LINT_DEPS)
95
96 modlintlib: $(MODLINTLIB_DEPS)
97
|