summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/hdm-i2c/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/hdm-i2c/files/Makefile')
-rw-r--r--recipes-kernel/hdm-i2c/files/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-kernel/hdm-i2c/files/Makefile b/recipes-kernel/hdm-i2c/files/Makefile
new file mode 100644
index 000000000..1b961412c
--- /dev/null
+++ b/recipes-kernel/hdm-i2c/files/Makefile
@@ -0,0 +1,17 @@
+# Makefile
+#
+
+SRC := $(shell pwd)
+
+obj-m += hdm_i2c.o
+CFLAGS_hdm_i2c.o := -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
+