summaryrefslogtreecommitdiffstats
path: root/docs/manual/writing-rules.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/writing-rules.txt')
-rw-r--r--docs/manual/writing-rules.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/manual/writing-rules.txt b/docs/manual/writing-rules.txt
index c9816a440..b649c9fd8 100644
--- a/docs/manual/writing-rules.txt
+++ b/docs/manual/writing-rules.txt
@@ -52,6 +52,18 @@ http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt[].
The +.mk+ file
~~~~~~~~~~~~~~
+* Header: The file starts with a header. It contains the module name,
+preferably in lowercase, enclosed between separators made of 80 hashes. A
+blank line is mandatory after the header:
++
+---------------------
+################################################################################
+#
+# libfoo
+#
+################################################################################
+---------------------
++
* Assignment: use +=+ preceded and followed by one space:
+
---------------------