Skip to content

Commit

Permalink
net/mlx5: Add Makefiles for subdirectories
Browse files Browse the repository at this point in the history
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: e29341f ("net/mlx5: FPGA, Add basic support for Innova")
Signed-off-by: Ilan Tayari <[email protected]>
Reported-by: David Miller <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
  • Loading branch information
ilantayari authored and Saeed Mahameed committed Jul 6, 2017
1 parent 111a676 commit fb000f7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
subdir-ccflags-y += -I$(src)/..
1 change: 1 addition & 0 deletions drivers/net/ethernet/mellanox/mlx5/core/en_accel/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
subdir-ccflags-y += -I$(src)/..
1 change: 1 addition & 0 deletions drivers/net/ethernet/mellanox/mlx5/core/fpga/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
subdir-ccflags-y += -I$(src)/..
1 change: 1 addition & 0 deletions drivers/net/ethernet/mellanox/mlx5/core/ipoib/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
subdir-ccflags-y += -I$(src)/..
1 change: 1 addition & 0 deletions drivers/net/ethernet/mellanox/mlx5/core/lib/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
subdir-ccflags-y += -I$(src)/..

0 comments on commit fb000f7

Please sign in to comment.