Commit 7a3c7af9 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

driver: Try to include checkpatch in linux driver makefile.

parent baa9385b
Pipeline #13956 failed with stages
in 3 minutes and 34 seconds
......@@ -71,6 +71,7 @@ build_linux_driver:
script:
- cd driver/linux
- "make -j`nproc` KDIR=/linux/build"
- "make checkpatch KDIR=/linux/build"
artifacts:
paths:
- driver/linux/ctucanfd.ko
......
......@@ -35,7 +35,7 @@ endif
CTUCANF_SOURCES = ctu_can_fd.c ctu_can_fd_hw.c ctu_can_fd_frame.h ctu_can_fd_hw.h ctu_can_fd_regs.h ctu_can_fd_platform.c ctu_can_fd_pci.c
checkpatch:
cd $(KDIR) && $(KDIR)/source/scripts/checkpatch.pl -f $(CTUCANF_SOURCES:%=$(PWD)/%)
cd $(KDIR) && $(KDIR)/source/scripts/checkpatch.pl -f --no-tree $(CTUCANF_SOURCES:%=$(PWD)/%)
clean:
$(MAKE) $(MAKEARGS) M=$$PWD clean
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