Skip to content

Commit

Permalink
efi/Makefile: remove effective double "//"
Browse files Browse the repository at this point in the history
During the string substitution, an addtional '/' is added unnecessarily.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  • Loading branch information
geneC committed Jun 14, 2016
1 parent c882e67 commit b63fc46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions efi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ include $(MAKEDIR)/efi.mk
CFLAGS += -Wno-strict-prototypes

CORE_CSRC := $(wildcard $(core)/*.c $(core)/*/*.c $(core)/*/*/*.c)
CORE_COBJ := $(subst $(core),$(OBJ)/../core/,$(patsubst %.c,%.o,$(CORE_CSRC)))
CORE_COBJ := $(subst $(core),$(OBJ)/../core,$(patsubst %.c,%.o,$(CORE_CSRC)))

# We don't want to include any of the networking stack or the thread
# code since it will be implemented completely differently for EFI.
FILTERED_OBJS:= $(subst $(core),$(OBJ)/../core/,$(patsubst %.c,%.o, \
FILTERED_OBJS:= $(subst $(core),$(OBJ)/../core,$(patsubst %.c,%.o, \
$(wildcard $(core)/legacynet/*.c) \
$(wildcard $(core)/fs/pxe/*.c) \
$(wildcard $(core)/thread/*.c)))

# Don't include unit tests
FILTERED_OBJS += $(subst $(core),$(OBJ)/../core/, \
FILTERED_OBJS += $(subst $(core),$(OBJ)/../core, \
$(patsubst %.c,%.o,$(shell find $(core) -path "*/tests/*.c" -print)))

# Don't include console objects
Expand Down

0 comments on commit b63fc46

Please sign in to comment.