summaryrefslogtreecommitdiffstats
path: root/driver/hdm-dim2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'driver/hdm-dim2/Makefile')
-rw-r--r--driver/hdm-dim2/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/driver/hdm-dim2/Makefile b/driver/hdm-dim2/Makefile
new file mode 100644
index 0000000..a9dc62a
--- /dev/null
+++ b/driver/hdm-dim2/Makefile
@@ -0,0 +1,18 @@
+# Makefile
+#
+
+SRC := $(shell pwd)
+
+obj-m += hdm_dim2.o
+hdm_dim2-y := dim2_hdm.o dim2_hal.o dim2_sysfs.o
+CFLAGS_dim2_hdm.o := -I$(src)/../../mostcore/files -I$(src)/../../aim-network/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
+