From: Peter Seiderer Date: Tue, 16 Mar 2021 18:14:28 +0000 (+0100) Subject: package/batman-adv: needs linux kernel libcrc32c support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6754f656dede40d380f56086849fdd4092b15846;p=buildroot.git package/batman-adv: needs linux kernel libcrc32c support Fixes: ERROR: modpost: "crc32c" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined! Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- 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))