greybus: add -Wall to the build flags

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>
This commit is contained in:
Greg Kroah-Hartman 2014-11-19 19:09:53 -08:00
parent 4589f06663
commit 7486dfd161
1 changed files with 3 additions and 0 deletions

View 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: