Skip to content

Commit

Permalink
cleanup: move efhw/ef10ct.c into ef10ct subdirectory
Browse files Browse the repository at this point in the history
The filename's similarity to the directory can confuse Make and break the
build in some circumstances. Moving it also makes the structure consistent
with ef10/ef10.c.
  • Loading branch information
Mike Seymour committed Nov 4, 2024
1 parent 41cc98a commit 45ac961
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/driver/linux_resource/mmake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ EFHW_EF10_SRCS :=
endif

ifeq ($(HAVE_EF10CT),1)
EFHW_EF10CT_SRCS := aux_ef10ct.c
EFHW_SRCS += ef10ct.c
EFHW_EF10CT_SRCS := aux_ef10ct.c ef10ct.c
else
EFHW_EF10CT_SRCS :=
endif
Expand Down
10 changes: 5 additions & 5 deletions src/lib/efhw/ef10ct.c → src/lib/efhw/ef10ct/ef10ct.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@

#include "etherfabric/internal/internal.h"

#include "aux.h"
#include "ef10ct.h"
#include "sw_buffer_table.h"
#include "mcdi_common.h"
#include "ethtool_flow.h"
#include "../aux.h"
#include "../ef10ct.h"
#include "../sw_buffer_table.h"
#include "../mcdi_common.h"
#include "../ethtool_flow.h"


#if CI_HAVE_EF10CT
Expand Down

0 comments on commit 45ac961

Please sign in to comment.