shithub: scc

Download patch

ref: 5a522b88668d1295302293de3f86c0b2869ee57a
parent: 50a8df0490d1af1d3350fb48b83d693fd3ae0e3a
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Aug 28 11:59:36 EDT 2019

[rules] Use a simple tab instead of aligment

Aligment was creating nasty spaces in the command line
that are minimized using tabs while it keeps readbility.

--- a/scripts/rules.mk
+++ b/scripts/rules.mk
@@ -15,7 +15,7 @@
 LIBCDIR    = $(CRTDIR)/$(ARCH)-$(SYS)/
 ENVIRON    = $(SCRIPTDIR)/env.sh
 
-INCLUDE    = -I$(INCDIR)/scc \
+INCLUDE    = -I$(INCDIR)/scc
 
 CC = $(CROSS_COMPILE)$(COMP)
 AS = $(CROSS_COMPILE)$(ASM)
@@ -23,27 +23,30 @@
 RL = $(CROSS_COMPILE)$(RANLIB)
 AR = $(CROSS_COMPILE)$(ARCHIVE)
 
-SCC_CFLAGS = $(MORECFLAGS) \
-             $(TOOLCFLAGS) \
-             $(HOSTCFLAGS) \
-             $(SYSCFLAGS) \
-             $(INCLUDE) \
-             -g \
-             $(CFLAGS)
+SCC_CFLAGS =\
+	$(MORECFLAGS)\
+	$(TOOLCFLAGS)\
+	$(HOSTCFLAGS)\
+	$(SYSCFLAGS)\
+	$(INCLUDE)\
+	-g\
+	$(CFLAGS)
 
-SCC_LDFLAGS = $(MORELFLAGS) \
-              $(TOOLLDFLAGS) \
-              $(HOSTLDFLAGS) \
-              $(SYSLDFLAGS) \
-              -L$(LIBDIR) \
-              -g \
-              $(LDFLAGS)
+SCC_LDFLAGS =\
+	$(MORELFLAGS)\
+	$(TOOLLDFLAGS)\
+	$(HOSTLDFLAGS)\
+	$(SYSLDFLAGS)\
+	-L$(LIBDIR)\
+	-g \
+	$(LDFLAGS)
 
-SCC_ASFLAGS = $(MOREASFLAGS) \
-              $(TOOLASFLAGS) \
-              $(HOSTASFLAGS) \
-              $(SYSASFLAGS) \
-              $(ASFLAGS)
+SCC_ASFLAGS =\
+	$(MOREASFLAGS)\
+	$(TOOLASFLAGS)\
+	$(HOSTASFLAGS)\
+	$(SYSASFLAGS)\
+	$(ASFLAGS)
 
 # helper macro to run over all the directories
 FORALL = +@set -e ;\