Commit fac099f7 authored by Martin Jeřábek's avatar Martin Jeřábek

autodeploy the kernel module only on hathi

parent 6e53a232
KDIR ?= /home/mjerabek/projects/kernel/linux-4.15-build/zynq
default:
$(MAKE) -C $(KDIR) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- M=$$PWD
ifeq ($(shell hostname),hathi)
-rm -f /srv/nfs4/debian-armhf-devel/ctucanfd.ko
cp ctucanfd.ko /srv/nfs4/debian-armhf-devel/
endif
clean:
$(MAKE) -C $(KDIR) M=$$PWD ARCH=arm 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