Messages in this thread | | | Date | Fri, 13 Oct 2023 17:27:12 +0200 | Subject | Re: [PATCH net] net: ethernet: ti: Fix mixed module-builtin object | From | Alexander Lobakin <> |
| |
From: Md Danish Anwar <danishanwar@ti.com> Date: Fri, 13 Oct 2023 15:35:49 +0530
> With CONFIG_TI_K3_AM65_CPSW_NUSS=y and CONFIG_TI_ICSSG_PRUETH=m, > k3-cppi-desc-pool.o is linked to a module and also to vmlinux even though > the expected CFLAGS are different between builtins and modules. > > The build system is complaining about the following: > > k3-cppi-desc-pool.o is added to multiple modules: icssg-prueth > ti-am65-cpsw-nuss
I also fixed a bunch of these in the ethernet/ti/ folder a year ago[0], you can take a look. I never made it to the upstream branches since I took a rest from my home Linux projects and never got back to them yet :P
> > Introduce the new module, k3-cppi-desc-pool, to provide the common > functions to ti-am65-cpsw-nuss and icssg-prueth.
[...]
[0] https://lore.kernel.org/all/20221119225650.1044591-19-alobakin@pm.me
Thanks, Olek
| |