mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 10:35:04 +07:00
df0566a641
Now that we have a new subdirectory for display code, continue by moving modesetting core code. display/intel_frontbuffer.h sticks out like a sore thumb, otherwise this is, again, a surprisingly clean operation. v2: - don't move intel_sideband.[ch] (Ville) - use tabs for Makefile file lists and sort them Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190613084416.6794-3-jani.nikula@intel.com
17 lines
529 B
Makefile
17 lines
529 B
Makefile
# SPDX-License-Identifier: MIT
|
|
# Copyright © 2019 Intel Corporation
|
|
|
|
# Test the headers are compilable as standalone units
|
|
header_test := $(notdir $(filter-out %/intel_vbt_defs.h,$(wildcard $(src)/*.h)))
|
|
|
|
quiet_cmd_header_test = HDRTEST $@
|
|
cmd_header_test = echo "\#include \"$(<F)\"" > $@
|
|
|
|
header_test_%.c: %.h
|
|
$(call cmd,header_test)
|
|
|
|
extra-$(CONFIG_DRM_I915_WERROR) += \
|
|
$(foreach h,$(header_test),$(patsubst %.h,header_test_%.o,$(h)))
|
|
|
|
clean-files += $(foreach h,$(header_test),$(patsubst %.h,header_test_%.c,$(h)))
|