From 5f0d290de700ddffa6750e95344fdc9fb49301db Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Thu, 28 Jul 2016 14:15:55 +0200 Subject: 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 --- Usb-Driver/ubuntu-make | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 Usb-Driver/ubuntu-make (limited to 'Usb-Driver/ubuntu-make') 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 -- cgit 1.2.3-korg