linuxKernel.kernels.linux_5_13_hardened: fix build

BTF cannot be enabled at the same time as the RANDSTRUCT GCC plugin, so
we need to mark it as optional. Alas.
This commit is contained in:
Luke Granger-Brown 2021-09-22 22:26:33 +00:00
parent 09a7436fcc
commit 7002c15677

View File

@ -40,7 +40,7 @@ let
(whenOlder "5.2" (if (features.debug or false) then yes else no))
(whenAtLeast "5.2" yes)
];
DEBUG_INFO_BTF = whenAtLeast "5.2" yes;
DEBUG_INFO_BTF = whenAtLeast "5.2" (option yes);
DEBUG_KERNEL = yes;
DEBUG_DEVRES = no;
DYNAMIC_DEBUG = yes;