summaryrefslogtreecommitdiffstats
path: root/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Makefile')
-rw-r--r--kernel/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
new file mode 100644
index 000000000..90fad04b6
--- /dev/null
+++ b/kernel/Makefile
@@ -0,0 +1,13 @@
+all: all.modules
+
+all.modules: ../mdk-stage1/mar/mar update_kernel list_modules.pm
+ `../tools/specific_arch ./update_kernel`
+
+../mdk-stage1/mar/mar:
+ make -C `dirname $@`
+
+clean:
+ rm -rf *~ modules.description all.modules all.modules64
+
+check:
+ perl modules.pl check > /dev/null