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