aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2016-06-14 06:17:59 -0400
committerGene Cumm <gene.cumm@gmail.com>2016-06-14 06:17:59 -0400
commitb63fc468e1e4f178b2dd88d181ce76d2acd01e8b (patch)
tree7d3743330c8de6cf11f552308d7bc722ae095fc0
parentc882e679c72e4d6cc4ac3e118ce93a8750ca5ffc (diff)
downloadsyslinux-b63fc468e1e4f178b2dd88d181ce76d2acd01e8b.tar.gz
syslinux-b63fc468e1e4f178b2dd88d181ce76d2acd01e8b.tar.xz
syslinux-b63fc468e1e4f178b2dd88d181ce76d2acd01e8b.zip
efi/Makefile: remove effective double "//"
During the string substitution, an addtional '/' is added unnecessarily. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--efi/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/efi/Makefile b/efi/Makefile
index bbf23f24..d3788d90 100644
--- a/efi/Makefile
+++ b/efi/Makefile
@@ -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