testsuite: intent if/else in Makefile
Indent both arms of if/else equally. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
c934da8aaa
commit
b0a09ace39
2
Makefile
2
Makefile
|
|
@ -48,7 +48,7 @@ HOSTCC ?= $(CC)
|
||||||
DEFINES += -D_GNU_SOURCE
|
DEFINES += -D_GNU_SOURCE
|
||||||
# Turn on transparent support for LFS
|
# Turn on transparent support for LFS
|
||||||
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
|
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
|
||||||
CCOPTS = -O2
|
CCOPTS = -O2 -pipe
|
||||||
WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
|
WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||||
WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2
|
WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ KENVFN := $(shell mktemp /tmp/tc_testkenv.XXXXXX)
|
||||||
ifneq (,$(wildcard /proc/config.gz))
|
ifneq (,$(wildcard /proc/config.gz))
|
||||||
KCPATH := /proc/config.gz
|
KCPATH := /proc/config.gz
|
||||||
else
|
else
|
||||||
KVER := $(shell uname -r)
|
KVER := $(shell uname -r)
|
||||||
KCPATHS := /lib/modules/$(KVER)/config /boot/config-$(KVER)
|
KCPATHS := /lib/modules/$(KVER)/config /boot/config-$(KVER)
|
||||||
KCPATH := $(firstword $(wildcard $(KCPATHS)))
|
KCPATH := $(firstword $(wildcard $(KCPATHS)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: compile listtests alltests configure $(TESTS)
|
.PHONY: compile listtests alltests configure $(TESTS)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue