greybus: add -Wall to the build flags
authorGreg Kroah-Hartman <greg@kroah.com>
Thu, 20 Nov 2014 03:09:53 +0000 (19:09 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 20 Nov 2014 04:18:11 +0000 (20:18 -0800)
In an attempt to turn on as many options as we can to catch warnings
early, let's enable -Wall.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/Makefile

index b254516b4392ae96fbc1f2c0c9bb83e9f64187a8..81174b936b3a17acc7de2f804a7d451e6cefe03c 100644 (file)
@@ -23,6 +23,9 @@ KERNELVER             ?= $(shell uname -r)
 KERNELDIR              ?= /lib/modules/$(KERNELVER)/build
 PWD                    := $(shell pwd)
 
+# add -Wall to try to catch everything we can.
+ccFlags-y := -Wall
+
 all: module
 
 module: