From 675eafd80c3e19d429b002116fbc76ad9018c349 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie <alexandre.abadie@inria.fr> Date: Fri, 22 Sep 2017 14:52:38 +0200 Subject: [PATCH] examples: makefiles indentation cleanup --- examples/dtls-echo/Makefile | 2 +- examples/gnrc_border_router/Makefile | 12 ++++++------ examples/microcoap_server/Makefile | 10 +++++----- examples/nanocoap_server/Makefile | 10 +++++----- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/examples/dtls-echo/Makefile b/examples/dtls-echo/Makefile index 7f9f7c1026..411291f763 100644 --- a/examples/dtls-echo/Makefile +++ b/examples/dtls-echo/Makefile @@ -40,7 +40,7 @@ USEMODULE += ps #TinyDTLs (crypto.c) made use of pthread ifneq ($(BOARD),native) - USEMODULE += pthread + USEMODULE += pthread endif # Comment this out to disable code in RIOT that does safety checking diff --git a/examples/gnrc_border_router/Makefile b/examples/gnrc_border_router/Makefile index dc98f83724..53961a91ee 100644 --- a/examples/gnrc_border_router/Makefile +++ b/examples/gnrc_border_router/Makefile @@ -21,13 +21,13 @@ BOARD_BLACKLIST += mips-malta pic32-wifire pic32-clicker# No full UART available # use ethos (ethernet over serial) for network communication and stdio over # UART, but not on native, as native has a tap interface towards the host. ifeq (,$(filter native,$(BOARD))) -GNRC_NETIF_NUMOF := 2 -USEMODULE += ethos gnrc_netdev + GNRC_NETIF_NUMOF := 2 + USEMODULE += ethos gnrc_netdev -# ethos baudrate can be configured from make command -ETHOS_BAUDRATE ?= 115200 -CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ETHOS_FOR_STDIO -FEATURES_REQUIRED += periph_uart + # ethos baudrate can be configured from make command + ETHOS_BAUDRATE ?= 115200 + CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ETHOS_FOR_STDIO + FEATURES_REQUIRED += periph_uart endif # SLIP legacy compatibility diff --git a/examples/microcoap_server/Makefile b/examples/microcoap_server/Makefile index c11a9e57f2..f34d00ba64 100644 --- a/examples/microcoap_server/Makefile +++ b/examples/microcoap_server/Makefile @@ -40,11 +40,11 @@ USEMODULE += shell_commands LOW_MEMORY_BOARDS := nucleo-f334 ifneq (,$(filter $(BOARD),$(LOW_MEMORY_BOARDS))) -$(info Using low-memory configuration for microcoap_server.) -## low-memory tuning values -# lower pktbuf buffer size -CFLAGS += -DGNRC_PKTBUF_SIZE=1000 -USEMODULE += prng_minstd + $(info Using low-memory configuration for microcoap_server.) + ## low-memory tuning values + # lower pktbuf buffer size + CFLAGS += -DGNRC_PKTBUF_SIZE=1000 + USEMODULE += prng_minstd endif # Change this to 0 show compiler invocation lines by default: diff --git a/examples/nanocoap_server/Makefile b/examples/nanocoap_server/Makefile index c079340c4d..bc42fcb766 100644 --- a/examples/nanocoap_server/Makefile +++ b/examples/nanocoap_server/Makefile @@ -42,11 +42,11 @@ USEMODULE += shell_commands LOW_MEMORY_BOARDS := nucleo-f334 ifneq (,$(filter $(BOARD),$(LOW_MEMORY_BOARDS))) -$(info Using low-memory configuration for microcoap_server.) -## low-memory tuning values -# lower pktbuf buffer size -CFLAGS += -DGNRC_PKTBUF_SIZE=1000 -USEMODULE += prng_minstd + $(info Using low-memory configuration for microcoap_server.) + ## low-memory tuning values + # lower pktbuf buffer size + CFLAGS += -DGNRC_PKTBUF_SIZE=1000 + USEMODULE += prng_minstd endif # Change this to 0 show compiler invocation lines by default: -- GitLab