mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
Each object file contains information about which module it gets linked into, so linking the same file into multiple modules now causes a warning: scripts/Makefile.build:254: drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch scripts/Makefile.build:254: drivers/net/ethernet/freescale/dpaa2/Makefile: dpmac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch Change the way that dpaa2 is built by moving the two common files into a separate module with exported symbols instead. Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260402184726.3746487-3-arnd@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
|---|---|---|
| .. | ||
| dpaa2-eth-dcb.c | ||
| dpaa2-eth-debugfs.c | ||
| dpaa2-eth-debugfs.h | ||
| dpaa2-eth-devlink.c | ||
| dpaa2-eth-trace.h | ||
| dpaa2-eth.c | ||
| dpaa2-eth.h | ||
| dpaa2-ethtool.c | ||
| dpaa2-mac.c | ||
| dpaa2-mac.h | ||
| dpaa2-ptp.c | ||
| dpaa2-ptp.h | ||
| dpaa2-switch-ethtool.c | ||
| dpaa2-switch-flower.c | ||
| dpaa2-switch.c | ||
| dpaa2-switch.h | ||
| dpaa2-xsk.c | ||
| dpkg.h | ||
| dpmac-cmd.h | ||
| dpmac.c | ||
| dpmac.h | ||
| dpni-cmd.h | ||
| dpni.c | ||
| dpni.h | ||
| dprtc-cmd.h | ||
| dprtc.c | ||
| dprtc.h | ||
| dpsw-cmd.h | ||
| dpsw.c | ||
| dpsw.h | ||
| Kconfig | ||
| Makefile | ||