From e2d5af502a68269a30c9f73c1d6857c268909e1f Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Fri, 30 Jul 2021 13:48:38 -0400 Subject: [PATCH] lib/systems/platforms: armv7l-hf-multiplatform: fix kernel build autoModules triggers a build system bug where ks8851_mll needs to be built-in if ks8851 is also built-in. --- lib/systems/platforms.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index 92285346f754..d7efe84e2b85 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -315,6 +315,12 @@ rec { # Disable OABI to have seccomp_filter (required for systemd) # https://github.com/raspberrypi/firmware/issues/651 OABI_COMPAT n + + # >=5.12 fails with: + # drivers/net/ethernet/micrel/ks8851_common.o: in function `ks8851_probe_common': + # ks8851_common.c:(.text+0x179c): undefined reference to `__this_module' + # See: https://lore.kernel.org/netdev/20210116164828.40545-1-marex@denx.de/T/ + KS8851_MLL y ''; }; gcc = {