I’m trying to compile a custom kernel using this official guide, and I put config changes into kernel-local
as it suggested:
CONFIG_DRM_AMDGPU=n
Unfortunately, when I do build using fedpkg local
, I’ve got following error:
Error: Mismatches found in configuration files for arm64 aarch64-16k
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
Error: Mismatches found in configuration files for arm64 aarch64-debug
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
Error: Mismatches found in configuration files for arm64 aarch64
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
Error: Mismatches found in configuration files for powerpc ppc64le-debug
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
Error: Mismatches found in configuration files for powerpc ppc64le
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
Error: Mismatches found in configuration files for s390 s390x-debug
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
Error: Mismatches found in configuration files for s390 s390x
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
Error: Mismatches found in configuration files for x86_64 x86_64-debug
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
Error: Mismatches found in configuration files for x86_64 x86_64
Found # CONFIG_DRM_AMDGPU is not set, after generation, had CONFIG_DRM_AMDGPU n in Source tree
error: Bad exit status from /var/tmp/rpm-tmp.0d5A0J (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.0d5A0J (%prep)
Funny thing is that error outs # CONFIG_DRM_AMDGPU is not set
while grep CONFIG_DRM_AMDGPU kernel-x86_64-fedora.config
returns:
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_USERPTR=y
# CONFIG_DRM_AMDGPU_WERROR is not set
I’ve tried putting # CONFIG_DRM_AMDGPU is not set
into kernel-local
as well as putting
%define listnewconfig_fail 0
%define configmismatch_fail 0
into kernel.spec
as this guide suggested, but it didn’t help me either.