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

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

parent b57b0624
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment