Commit 22753e17 authored by Martin Jeřábek's avatar Martin Jeřábek

driver: add kernel module makefile

parent f45e4452
*.o
*.d
/test
*.das
.*.cmd
.tmp_versions
modules.order
Module.symvers
ctucanfd.mod.c
a.out
*.ko
obj-m := ctucanfd.o
ctucanfd-y := ctu_can_fd.o ctu_can_fd_hw.o
KDIR ?= /home/mjerabek/projects/kernel/linux-4.9-build/zynq
default:
$(MAKE) -C $(KDIR) M=$$PWD
cp ctucanfd.ko /srv/nfs4/debian-armhf-devel/
clean:
$(MAKE) -C $(KDIR) M=$$PWD clean
../ctu_can_fd.c
\ No newline at end of file
../ctu_can_fd_frame.h
\ No newline at end of file
../ctu_can_fd_hw.c
\ No newline at end of file
../ctu_can_fd_hw.h
\ No newline at end of file
../ctu_can_fd_regs.h
\ No newline at end of file
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