Commit d0d4a8ca authored by Tim Schumacher's avatar Tim Schumacher
Browse files

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.
parent cfb4fd54
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;