aboutsummaryrefslogtreecommitdiff
path: root/Makefile.main
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2017-07-28 16:46:19 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-01 13:56:54 +1000
commit5c2ed41022baaac49be3620f375af85a4a852c2b (patch)
tree10222c88f5e3c082ad0678295fd0fce95acb239a /Makefile.main
parentd689cb96ac58681bcff087e31162ff92fefd411d (diff)
downloadskiboot-5c2ed41022baaac49be3620f375af85a4a852c2b.zip
skiboot-5c2ed41022baaac49be3620f375af85a4a852c2b.tar.gz
skiboot-5c2ed41022baaac49be3620f375af85a4a852c2b.tar.bz2
Makefile.check: Fix `make check`
Recent reworks were tested on the travis-ci system. Unfortunately, there are configurations of running `make check` which the travis-ci doesn't do. On some systems extra problems crop up. Removing the stack size check is only done for the host compiler as the check is only critical for skiboot its self where stack space is contained. Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r--Makefile.main7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.main b/Makefile.main
index 438dcb2..96447cb 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -38,8 +38,7 @@ HOSTCFLAGS += $(call try-cflag,$(HOSTCC),-std=gnu11)
HOSTCFLAGS += $(call try-cflag,$(HOSTCC),-m64)
HOSTCFLAGS += $(call try-cflag,$(HOSTCC),-Wjump-misses-init) \
$(call try-cflag,$(HOSTCC),-Wsuggest-attribute=const) \
- $(call try-cflag,$(HOSTCC),-Wsuggest-attribute=noreturn) \
- $(call try-cflag,$(HOSTCC),-Wstack-usage=1024)
+ $(call try-cflag,$(HOSTCC),-Wsuggest-attribute=noreturn)
HOSTCFLAGS += -DDEBUG -DCCAN_LIST_DEBUG
HOSTGCOVCFLAGS = -fprofile-arcs -ftest-coverage -lgcov -O0 -g -pg
@@ -180,10 +179,10 @@ include $(SRC)/libstb/Makefile.inc
# hack for travis-ci and coverity
gard:
- (cd external/gard; CFLAGS="$(HOSTCFLAGS) $(HOSTGCOVCFLAGS)" make)
+ (cd external/gard; CROSS_COMPILE="" CFLAGS="$(HOSTCFLAGS) $(HOSTGCOVCFLAGS)" make)
pflash:
- (cd external/pflash; CFLAGS="$(HOSTCFLAGS) $(HOSTGCOVCFLAGS)" make)
+ (cd external/pflash; CROSS_COMPILE="" CFLAGS="$(HOSTCFLAGS) $(HOSTGCOVCFLAGS)" make)
pflash-coverity:
(cd external/pflash; ./build-all-arch.sh)