[Buildroot] [git commit branch/2021.02.x] package/batman-adv: needs linux kernel libcrc32c support

Peter Korsgaard peter at korsgaard.com
Tue Mar 23 17:19:34 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=8363c87cfc94acc611ec620c628f848f3c3bd560
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

Fixes:

  ERROR: modpost: "crc32c" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!

Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 6754f656dede40d380f56086849fdd4092b15846)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/batman-adv/batman-adv.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk
index 2de92d6543..194951a712 100644
--- a/package/batman-adv/batman-adv.mk
+++ b/package/batman-adv/batman-adv.mk
@@ -34,5 +34,9 @@ define BATMAN_ADV_CONFIGURE_CMDS
 	$(BATMAN_ADV_MODULE_MAKE_OPTS) $(@D)/gen-compat-autoconf.sh $(@D)/compat-autoconf.h
 endef
 
+define BATMAN_ADV_LINUX_CONFIG_FIXUPS
+	$(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C)
+endef
+
 $(eval $(kernel-module))
 $(eval $(generic-package))


More information about the buildroot mailing list