mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
net/mlx5: Add Makefiles for subdirectories
Currently it is not possible to build just one .o file inside
a subdirectory, because the subdirectories lack a Makefile.
Add a Makefile to the mlx5 subdirectories.
Fixes: e29341fb3a
("net/mlx5: FPGA, Add basic support for Innova")
Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
111a676367
commit
fb000f7817
5 changed files with 5 additions and 0 deletions
1
drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile
Normal file
1
drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
subdir-ccflags-y += -I$(src)/..
|
|
@ -0,0 +1 @@
|
|||
subdir-ccflags-y += -I$(src)/..
|
1
drivers/net/ethernet/mellanox/mlx5/core/fpga/Makefile
Normal file
1
drivers/net/ethernet/mellanox/mlx5/core/fpga/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
subdir-ccflags-y += -I$(src)/..
|
1
drivers/net/ethernet/mellanox/mlx5/core/ipoib/Makefile
Normal file
1
drivers/net/ethernet/mellanox/mlx5/core/ipoib/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
subdir-ccflags-y += -I$(src)/..
|
1
drivers/net/ethernet/mellanox/mlx5/core/lib/Makefile
Normal file
1
drivers/net/ethernet/mellanox/mlx5/core/lib/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
subdir-ccflags-y += -I$(src)/..
|
Loading…
Reference in a new issue