diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2016-06-21 14:14:04 +0200 |
---|---|---|
committer | Christian Gromm <christian.gromm@microchip.com> | 2016-06-21 14:14:04 +0200 |
commit | 860b3c0ccfb2756b8ed77523048952011b74a212 (patch) | |
tree | e0672fb5cf923dcf0a4a48a62a69011e1b72976a /Usb-Driver/ubuntu-make | |
parent | 742bace60b9c0a0f583d8afe1097d029f468fa03 (diff) |
src: can-lin: initial source import
This patch adds the sources needed for the HVAC and iDrive applications.
Change-Id: I53148a5d11c34787dd11295939bbaf8702c64dcb
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Diffstat (limited to 'Usb-Driver/ubuntu-make')
-rw-r--r-- | Usb-Driver/ubuntu-make | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Usb-Driver/ubuntu-make b/Usb-Driver/ubuntu-make new file mode 100644 index 0000000..d4b85af --- /dev/null +++ b/Usb-Driver/ubuntu-make @@ -0,0 +1,16 @@ +obj-m := mocc$(MAKE) V=0 -C $(KDIR) SUBDIRS=$(PWD) modules $(PROJECT_C_FLAGS) + +PWD = $(shell pwd) + +default: + @echo -------------------------------------- + @echo pwd = $(PWD) + @echo CURRENT = $(CURRENT) + @echo KDIR = $(KDIR) + make -C $(KDIR) SUBDIRS=$(PWD) modules + +test: + gcc test-mocca.c -o test-mocca -lpthread + +clean: + -rm -f *.o *.ko .*.cmd .*.flags *.mod.c |