diff options
author | 2016-07-28 14:15:55 +0200 | |
---|---|---|
committer | 2016-07-28 14:15:55 +0200 | |
commit | 5f0d290de700ddffa6750e95344fdc9fb49301db (patch) | |
tree | 4ec75b4a20074e8aaa11d2c923f822244c4d0eac /Usb-Driver/ubuntu-make | |
parent | 13b0ae6f160b0551edaee913d791607fd0cc3e4e (diff) |
src: can-lin: Usb-Driver: prepare directory for yocto build
This patch cleans the Usb-Driver directory. It removes files not
needed for the build process and fixes the Makefile. The patch is
needed for bitbake to fetch the source and compile the kernel
module.
Change-Id: I7748629d5c5b9a2cfcc3c6db63e64a10270fd77d
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, 0 insertions, 16 deletions
diff --git a/Usb-Driver/ubuntu-make b/Usb-Driver/ubuntu-make deleted file mode 100644 index d4b85af..0000000 --- a/Usb-Driver/ubuntu-make +++ /dev/null @@ -1,16 +0,0 @@ -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 |