[Buildroot] [PATCH v1 1/3] package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

Peter Korsgaard peter at korsgaard.com
Tue Mar 23 17:27:26 UTC 2021


>>>>> "Peter" == Peter Seiderer <ps.report at gmx.net> writes:

 > Taking a deeper look at the configure script gen-compat-autoconf.sh reveals that
 > the batman feature options must be explicitly set to 'y' or 'n' to work as
 > expected.

 > Fixes:

 >   ERROR: modpost: "batadv_v_mesh_free" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
 >   ERROR: modpost: "batadv_v_mesh_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
 >   ERROR: modpost: "batadv_v_hardif_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
 >   ERROR: modpost: "batadv_v_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!

 > Reported-by: Christian Stewart <christian at paral.in>
 > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
 > ---
 > Notes:
 >   - the previous patch was tested against an RPi4 linux kernel already
 >     enabling the build-in batman-adv module inlcusive batman-v, the defconfig
 >     given by Christian (enhanced by BR2_LINUX_KERNEL/BR2_LINUX_KERNEL_LATEST_VERSION/
 >     BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFI) uses one with build-in batman-adv
 >     disabled

Committed to 2020.02.x, 2020.11.x and 2021.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list