From 34e319dd30581d4a7b19b322d44cd1cb935df233 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sun, 14 Jan 2018 20:06:55 +0200 Subject: [PATCH] kernel: move DRM_DEBUG_* symbols to generic config While working on a new target (meson), the kernel build failed due to missing DRM_DEBUG_MM_SELFTEST symbol. This can potentially happen on all targets that enable DRM drivers in the kernel config or via kmod packages, so add it to the generic config and remove it from x86 subtarget configs, together with DRM_DEBUG_MM. Signed-off-by: Stijn Tintel --- target/linux/generic/config-4.14 | 2 ++ target/linux/x86/generic/config-default | 2 -- target/linux/x86/legacy/config-default | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index 7b9f8d04c4ec..5e6547e6981e 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux/generic/config-4.14 @@ -1140,6 +1140,8 @@ CONFIG_DQL=y # CONFIG_DRM_BOCHS is not set # CONFIG_DRM_CIRRUS_QEMU is not set # CONFIG_DRM_DP_AUX_CHARDEV is not set +# CONFIG_DRM_DEBUG_MM is not set +# CONFIG_DRM_DEBUG_MM_SELFTEST is not set # CONFIG_DRM_DUMB_VGA_DAC is not set # CONFIG_DRM_ETNAVIV is not set # CONFIG_DRM_EXYNOS is not set diff --git a/target/linux/x86/generic/config-default b/target/linux/x86/generic/config-default index c7e7ed36624e..327e7c647dec 100644 --- a/target/linux/x86/generic/config-default +++ b/target/linux/x86/generic/config-default @@ -72,8 +72,6 @@ CONFIG_DRM_AMDGPU=y # CONFIG_DRM_AMD_ACP is not set CONFIG_DRM_BOCHS=y CONFIG_DRM_BRIDGE=y -# CONFIG_DRM_DEBUG_MM is not set -# CONFIG_DRM_DEBUG_MM_SELFTEST is not set CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_FBDEV_OVERALLOC=100 # CONFIG_DRM_GMA500 is not set diff --git a/target/linux/x86/legacy/config-default b/target/linux/x86/legacy/config-default index a438eedd80e0..d1a4e810352c 100644 --- a/target/linux/x86/legacy/config-default +++ b/target/linux/x86/legacy/config-default @@ -58,8 +58,6 @@ CONFIG_DRM_AMDGPU=y # CONFIG_DRM_AMD_ACP is not set CONFIG_DRM_BOCHS=y CONFIG_DRM_BRIDGE=y -# CONFIG_DRM_DEBUG_MM is not set -# CONFIG_DRM_DEBUG_MM_SELFTEST is not set CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_FBDEV_OVERALLOC=100 # CONFIG_DRM_GMA500 is not set -- 2.30.2