aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/aim-v4l2/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/aim-v4l2/files/Makefile')
-rw-r--r--recipes-kernel/aim-v4l2/files/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-kernel/aim-v4l2/files/Makefile b/recipes-kernel/aim-v4l2/files/Makefile
new file mode 100644
index 000000000..4bf1be7fd
--- /dev/null
+++ b/recipes-kernel/aim-v4l2/files/Makefile
@@ -0,0 +1,18 @@
+# Makefile
+#
+
+SRC := $(shell pwd)
+
+obj-m += aim_v4l2.o
+aim_v4l2-y := video.o
+CFLAGS_video.o := -Idrivers/media/video -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
+