From: Stephen Hemminger Date: Wed, 12 Jun 2019 15:48:33 +0000 (-0700) Subject: testsuite: intent if/else in Makefile X-Git-Tag: v5.2.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a09ace394c274d8adc90875dc64ef21a17564f;p=thirdparty%2Fiproute2.git testsuite: intent if/else in Makefile Indent both arms of if/else equally. Signed-off-by: Stephen Hemminger --- diff --git a/Makefile b/Makefile index 48f469b0d..6c35e7c28 100644 --- a/Makefile +++ b/Makefile @@ -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 7f247bbc1..d5408646c 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)