1
0
Fork 0

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

hifive-unleashed-5.1
Greg Kroah-Hartman 2014-09-13 12:39:23 -07:00
parent b57b06241b
commit ac7171ea26
1 changed files with 3 additions and 0 deletions

View File

@ -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