cortex-m: remove .SECONDEXPANSION
Remove the .SECONDEXPANSION since rules
are now defined after the required variables
are defined.
The output in 02-compile-arm-ports from:
env RELSTR=test make NUMCORES=1 Q=''
is identical before/after this patch.
CUSTOM_RULE_LINK = 1
-.SECONDEXPANSION:
-
-$(OUT_ELF): $(CPU_STARTFILES) $$(CONTIKI_OBJECTFILES) %.o $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) $(LDSCRIPT) $(TARGET_LIBS)
+$(OUT_ELF): $(CPU_STARTFILES) $(CONTIKI_OBJECTFILES) %.o $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) $(LDSCRIPT) $(TARGET_LIBS)
$(TRACE_LD)
$(Q)$(LD) $(LDFLAGS) ${filter-out $(LDSCRIPT) %.a,$^} ${filter %.a,$^} $(TARGET_LIBFLAGS) -o $@
