summaryrefslogtreecommitdiff
path: root/Documentation/laptops/Makefile
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-03-11 02:21:56 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-13 02:52:35 +0300
commitd49129accc21ddb2e779d375dacafb612b1bd28d (patch)
tree4d93f4b149e62dcd2871f18b65e8e32c36b44b67 /Documentation/laptops/Makefile
parente61863099f58e458f08c101da87da752a1e009f5 (diff)
downloadlinux-d49129accc21ddb2e779d375dacafb612b1bd28d.tar.xz
Documentation/laptop/: split txt and source files
Documentation/laptops/laptop-mode.txt: Expose example and tool source files in the Documentation/ directory in their own files instead of being buried (almost hidden) in readme/txt files. This should help to prevent bitrot. This will make them more visible/usable to users who may need to use them, to developers who may need to test with them, and to anyone who would fix/update them if they were more visible. Also, if any of these possibly should not be in the kernel tree at all, it will be clearer that they are here and we can discuss if they should be removed. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/laptops/Makefile')
-rw-r--r--Documentation/laptops/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/laptops/Makefile b/Documentation/laptops/Makefile
new file mode 100644
index 000000000000..5cb144af3c09
--- /dev/null
+++ b/Documentation/laptops/Makefile
@@ -0,0 +1,8 @@
+# kbuild trick to avoid linker error. Can be omitted if a module is built.
+obj- := dummy.o
+
+# List of programs to build
+hostprogs-y := dslm
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)