mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 00:45:20 +07:00
d217e07b32
The kbuild system does not support having multiple source files in a module if one of those source files has the same name as the module. Therefore, we must rename ntb.c to core.c, while the module remains ntb.ko. This is similar to the way the nvme modules are structured. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: Allen Hubbe <allenbh@gmail.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
5 lines
101 B
Makefile
5 lines
101 B
Makefile
obj-$(CONFIG_NTB) += ntb.o hw/ test/
|
|
obj-$(CONFIG_NTB_TRANSPORT) += ntb_transport.o
|
|
|
|
ntb-y := core.o
|