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.
This commit is contained in:
Ben Wolsieffer 2021-07-30 13:48:38 -04:00
parent 2293303660
commit e2d5af502a
1 changed files with 6 additions and 0 deletions

View File

@ -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 = {