From e5fc70ae570f076756fa15cbbba81c5c703aa1d4 Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Thu, 28 Sep 2017 21:29:08 +0200
Subject: [PATCH] makefiles: cleanup indentation

---
 makefiles/bindist.inc.mk      |  4 ++--
 makefiles/tools/bossa.inc.mk  | 20 ++++++++++----------
 makefiles/tools/serial.inc.mk |  2 +-
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/makefiles/bindist.inc.mk b/makefiles/bindist.inc.mk
index be5f13b496..783edc9ca7 100644
--- a/makefiles/bindist.inc.mk
+++ b/makefiles/bindist.inc.mk
@@ -5,9 +5,9 @@ DIST_FILES += $(BIN_USEMODULE:%=bin/$(BOARD)/%.a)
 # if the file Makefile.distcheck exists, we're executing from within a folder
 # generated by "make bindist".
 ifneq (, $(wildcard Makefile.distcheck))
-	include Makefile.distcheck
+  include Makefile.distcheck
 else
-	DIRS+=$(BIN_DIRS)
+  DIRS+=$(BIN_DIRS)
 endif
 
 bindist: all
diff --git a/makefiles/tools/bossa.inc.mk b/makefiles/tools/bossa.inc.mk
index 4951e38561..1ded05c7ac 100644
--- a/makefiles/tools/bossa.inc.mk
+++ b/makefiles/tools/bossa.inc.mk
@@ -7,20 +7,20 @@ export HEXFILE = $(ELFFILE:.elf=.bin)
 # some arduino boards need to toggle the serial interface a little bit to get
 # them ready for flashing...
 ifneq (,$(BOSSA_ARDUINO_PREFLASH))
-OS := $(shell uname)
-ifeq ($(OS),Linux)
-  STTY_FLAG = -F
-else ifeq ($(OS),Darwin)
-  STTY_FLAG = -f
-endif
+  OS := $(shell uname)
+  ifeq ($(OS),Linux)
+    STTY_FLAG = -F
+  else ifeq ($(OS),Darwin)
+    STTY_FLAG = -f
+  endif
 
-PREFLASHER ?= stty
-PREFFLAGS  ?= $(STTY_FLAG) $(PORT) raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
-FLASHDEPS += preflash
+  PREFLASHER ?= stty
+  PREFFLAGS  ?= $(STTY_FLAG) $(PORT) raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
+  FLASHDEPS += preflash
 endif
 
 # if we go with the default (BOSSA shipped with RIOT), we download and build
 # the tool if not already done
 ifeq ($(RIOTBASE)/dist/tools/bossa/bossac,$(FLASHER))
-FLASHDEPS += $(RIOTBASE)/dist/tools/bossa/bossac
+  FLASHDEPS += $(RIOTBASE)/dist/tools/bossa/bossac
 endif
diff --git a/makefiles/tools/serial.inc.mk b/makefiles/tools/serial.inc.mk
index af17a2a9c4..3144a0ef55 100644
--- a/makefiles/tools/serial.inc.mk
+++ b/makefiles/tools/serial.inc.mk
@@ -7,7 +7,7 @@ else ifeq ($(OS),Darwin)
 endif
 
 ifeq ($(PORT),)
-    $(info Warning: no PORT set!)
+  $(info Warning: no PORT set!)
 endif
 
 export BAUD ?= 115200
-- 
GitLab