summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tests/Makefile
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-12-01 18:11:33 +0300
committerMaxime Ripard <maxime@cerno.tech>2022-12-08 11:41:27 +0300
commitb85be04294ffa49574a0e662e626066320349ef3 (patch)
treee5680553970d339707527bd41a2ebec342693d9e /drivers/gpu/drm/tests/Makefile
parent0c3627c744068fe95b235c9aa25d2bd56bde7e55 (diff)
downloadlinux-b85be04294ffa49574a0e662e626066320349ef3.tar.xz
drm/tests: Introduce a config option for the KUnit helpers
Driver-specific tests will need access to the helpers without pulling every DRM framework test. Let's create an intermediate Kconfig options for the helpers. Suggested-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Maíra Canal <mcanal@igalia.com> Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-2-4615a663a84a@cerno.tech Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/tests/Makefile')
-rw-r--r--drivers/gpu/drm/tests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tests/Makefile b/drivers/gpu/drm/tests/Makefile
index 94fe546d937d..ef14bd481139 100644
--- a/drivers/gpu/drm/tests/Makefile
+++ b/drivers/gpu/drm/tests/Makefile
@@ -1,5 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_DRM_KUNIT_TEST_HELPERS) += \
+ drm_kunit_helpers.o
+
obj-$(CONFIG_DRM_KUNIT_TEST) += \
drm_buddy_test.o \
drm_cmdline_parser_test.o \
@@ -9,7 +12,6 @@ obj-$(CONFIG_DRM_KUNIT_TEST) += \
drm_format_helper_test.o \
drm_format_test.o \
drm_framebuffer_test.o \
- drm_kunit_helpers.o \
drm_mm_test.o \
drm_modes_test.o \
drm_plane_helper_test.o \