Commit ac7171ea authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

greybus: Makefile: add 'check' option to run sparse with endian checks enabled

parent b57b0624
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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