From 29add86b4ad43c5aaa92bf15439e317fd6343a2d Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 29 Mar 2017 23:17:23 -0400 Subject: [PATCH] hiding .S support --- os/common/ports/ARMCMx/compilers/GCC/rules.mk | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/os/common/ports/ARMCMx/compilers/GCC/rules.mk b/os/common/ports/ARMCMx/compilers/GCC/rules.mk index 4ed1bb9b6..2fa3977ef 100644 --- a/os/common/ports/ARMCMx/compilers/GCC/rules.mk +++ b/os/common/ports/ARMCMx/compilers/GCC/rules.mk @@ -93,8 +93,9 @@ ACPPOBJS := $(addprefix $(OBJDIR)/, $(notdir $(ACPPSRC:.cpp=.o))) TCOBJS := $(addprefix $(OBJDIR)/, $(notdir $(TCSRC:.c=.o))) TCPPOBJS := $(addprefix $(OBJDIR)/, $(notdir $(TCPPSRC:.cpp=.o))) ASMOBJS := $(addprefix $(OBJDIR)/, $(notdir $(ASMSRC:.s=.o))) -ASMXOBJS := $(addprefix $(OBJDIR)/, $(notdir $(ASMXSRC:.S=.o))) -OBJS := $(ASMXOBJS) $(ASMOBJS) $(ACOBJS) $(TCOBJS) $(ACPPOBJS) $(TCPPOBJS) +#ASMXOBJS := $(addprefix $(OBJDIR)/, $(notdir $(ASMXSRC:.S=.o))) +#OBJS := $(ASMXOBJS) $(ASMOBJS) $(ACOBJS) $(TCOBJS) $(ACPPOBJS) $(TCPPOBJS) +OBJS := $(ASMOBJS) $(ACOBJS) $(TCOBJS) $(ACPPOBJS) $(TCPPOBJS) # Paths IINCDIR := $(patsubst %,-I%,$(INCDIR) $(DINCDIR) $(UINCDIR)) @@ -226,14 +227,14 @@ else @$(AS) -c $(ASFLAGS) -I. $(IINCDIR) $< -o $@ endif -$(ASMXOBJS) : $(OBJDIR)/%.o : %.S Makefile -ifeq ($(USE_VERBOSE_COMPILE),yes) - @echo - $(CC) -c $(ASXFLAGS) $(TOPT) -I. $(IINCDIR) $< -o $@ -else - @echo Compiling $(