package/batman-adv: needs linux kernel libcrc32c support
authorPeter Seiderer <ps.report@gmx.net>
Tue, 16 Mar 2021 18:14:28 +0000 (19:14 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 16 Mar 2021 20:13:41 +0000 (21:13 +0100)
Fixes:

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/batman-adv/batman-adv.mk

index 2de92d6543755d73ef7749f13abf3947732cf36d..194951a712114b385c850edbbaee4b2e856be770 100644 (file)
@@ -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))