diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2019-06-12 08:48:33 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2019-06-12 08:48:33 -0700 |
commit | b0a09ace394c274d8adc90875dc64ef21a17564f (patch) | |
tree | 72e9cdcaa8447a6848f58fd9d7d2506d20e09c40 | |
parent | c934da8aaacb015e08ac8abbbd0aa696a7ef19fd (diff) | |
download | iproute2-b0a09ace394c274d8adc90875dc64ef21a17564f.tar.gz |
testsuite: intent if/else in Makefile
Indent both arms of if/else equally.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | testsuite/Makefile | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -48,7 +48,7 @@ HOSTCC ?= $(CC) DEFINES += -D_GNU_SOURCE # Turn on transparent support for LFS DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -CCOPTS = -O2 +CCOPTS = -O2 -pipe WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2 diff --git a/testsuite/Makefile b/testsuite/Makefile index 7f247bbc..d5408646 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -18,9 +18,9 @@ KENVFN := $(shell mktemp /tmp/tc_testkenv.XXXXXX) ifneq (,$(wildcard /proc/config.gz)) KCPATH := /proc/config.gz else -KVER := $(shell uname -r) -KCPATHS := /lib/modules/$(KVER)/config /boot/config-$(KVER) -KCPATH := $(firstword $(wildcard $(KCPATHS))) + KVER := $(shell uname -r) + KCPATHS := /lib/modules/$(KVER)/config /boot/config-$(KVER) + KCPATH := $(firstword $(wildcard $(KCPATHS))) endif .PHONY: compile listtests alltests configure $(TESTS) |