Commit f95e14c0 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

ci: Add exit code 1 to fix ignore of return value!

parent dad3ed7d
...@@ -71,7 +71,7 @@ build_linux_driver: ...@@ -71,7 +71,7 @@ build_linux_driver:
script: script:
- cd driver/linux - cd driver/linux
- "make -j`nproc` KDIR=/linux/build" - "make -j`nproc` KDIR=/linux/build"
- "! make checkpatch KDIR=/linux/build | grep ERROR:" - "make checkpatch KDIR=/linux/build"
artifacts: artifacts:
paths: paths:
- driver/linux/ctucanfd.ko - driver/linux/ctucanfd.ko
......
...@@ -35,7 +35,7 @@ endif ...@@ -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 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: checkpatch:
cd $(KDIR) && $(KDIR)/source/scripts/checkpatch.pl -f --no-tree $(CTUCANF_SOURCES:%=$(PWD)/%) cd $(KDIR) && (! $(KDIR)/source/scripts/checkpatch.pl -f --no-tree $(CTUCANF_SOURCES:%=$(PWD)/%) | grep ERROR:)
clean: clean:
$(MAKE) $(MAKEARGS) M=$$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