File tree Expand file tree Collapse file tree 11 files changed +7
-96
lines changed Expand file tree Collapse file tree 11 files changed +7
-96
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ config DRM_I915_WERROR
77 # We use the dependency on !COMPILE_TEST to not be enabled in
88 # allmodconfig or allyesconfig configurations
99 depends on !COMPILE_TEST
10+ select HEADER_TEST
1011 default n
1112 help
1213 Add -Werror to the build flags for (and only for) i915.ko.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ subdir-ccflags-y += \
3333 $(call as-instr,movntdqa (% eax)$(comma ) %xmm0,-DCONFIG_AS_MOVNTDQA)
3434
3535# Extra header tests
36- include $( src ) /Makefile.header-test
36+ header-test-pattern-$(CONFIG_DRM_I915_WERROR) := *.h
3737
3838subdir-ccflags-y += -I$(srctree ) /$(src )
3939
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22subdir-ccflags-y += -I$(srctree ) /$(src ) /..
33
44# Extra header tests
5- include $(src ) /Makefile.header-test
5+ header-test-pattern-$(CONFIG_DRM_I915_WERROR) := *.h
6+ header-test- := intel_vbt_defs.h
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22subdir-ccflags-y += -I$(srctree ) /$(src ) /..
33
44# Extra header tests
5- include $( src ) /Makefile.header-test
5+ header-test-pattern-$(CONFIG_DRM_I915_WERROR) := *.h
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22subdir-ccflags-y += -I$(srctree ) /$(src ) /..
33
44# Extra header tests
5- include $( src ) /Makefile.header-test
5+ header-test-pattern-$(CONFIG_DRM_I915_WERROR) := *.h
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22subdir-ccflags-y += -I$(srctree ) /$(src ) /../..
33
44# Extra header tests
5- include $( src ) /Makefile.header-test
5+ header-test-pattern-$(CONFIG_DRM_I915_WERROR) := *.h
You can’t perform that action at this time.
0 commit comments