summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/mocca-usb/_files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/mocca-usb/_files/Makefile')
-rw-r--r--recipes-kernel/mocca-usb/_files/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-kernel/mocca-usb/_files/Makefile b/recipes-kernel/mocca-usb/_files/Makefile
new file mode 100644
index 000000000..fd82dbcd6
--- /dev/null
+++ b/recipes-kernel/mocca-usb/_files/Makefile
@@ -0,0 +1,17 @@
+# Makefile
+#
+
+SRC := $(shell pwd)
+
+obj-m += mocca_usb.o
+CFLAGS_hdm_usb.o := -I$(src)/../../aim-network/files/ -I$(src)/../../mostcore/files
+
+all:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
+
+modules_install:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install
+
+clean:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean
+