linux/common-config: Guard transitive dependants on BTF_JIT
BPF_JIT is not supported on i686, so we need to make sure that options that depend on BPF_JIT don't get enabled either.
This commit is contained in:
@@ -1063,7 +1063,7 @@ let
|
||||
HIDRAW = yes;
|
||||
|
||||
# Enable loading HID fixups as eBPF from userspace
|
||||
HID_BPF = whenAtLeast "6.3" yes;
|
||||
HID_BPF = whenAtLeast "6.3" (whenPlatformHasEBPFJit yes);
|
||||
|
||||
HID_ACRUX_FF = yes;
|
||||
DRAGONRISE_FF = yes;
|
||||
@@ -1290,7 +1290,7 @@ let
|
||||
LIRC = yes;
|
||||
|
||||
SCHED_CORE = whenAtLeast "5.14" yes;
|
||||
SCHED_CLASS_EXT = whenAtLeast "6.12" yes;
|
||||
SCHED_CLASS_EXT = whenAtLeast "6.12" (whenPlatformHasEBPFJit yes);
|
||||
|
||||
LRU_GEN = whenAtLeast "6.1" yes;
|
||||
LRU_GEN_ENABLED = whenAtLeast "6.1" yes;
|
||||
|
||||
Reference in New Issue
Block a user