From: Greg Kroah-Hartman Date: Sat, 13 Sep 2014 19:39:23 +0000 (-0700) Subject: greybus: Makefile: add 'check' option to run sparse with endian checks enabled X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~2116 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ac7171ea266d6978bc9eeb4db5e60847237cd1a5;p=karo-tx-linux.git greybus: Makefile: add 'check' option to run sparse with endian checks enabled --- diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 114089ada9f7..0550e219af3d 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -21,6 +21,9 @@ all: module module: $(MAKE) -C $(KERNELDIR) M=$(PWD) +check: + $(MAKE) -C $(KERNELDIR) M=$(PWD) C=2 CF="-D__CHECK_ENDIAN__" + clean: rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c rm -f Module.markers Module.symvers modules.order