summaryrefslogtreecommitdiffstats
path: root/Documentation/timers/Makefile
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-03-10 15:21:56 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-12 15:52:35 -0800
commite61863099f58e458f08c101da87da752a1e009f5 (patch)
tree93d094764b2c2b19abf46ac7e1cee004b1cc44fa /Documentation/timers/Makefile
parentad25ad979a309963e580015d57e4ec7da72bb7d4 (diff)
downloadlinux-stable-e61863099f58e458f08c101da87da752a1e009f5.tar.gz
linux-stable-e61863099f58e458f08c101da87da752a1e009f5.tar.bz2
linux-stable-e61863099f58e458f08c101da87da752a1e009f5.zip
Documentation/timers/: split txt and source files
Documentation/timers/hpet.txt: Expose example and tool source files in the Documentation/timers/ 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> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/timers/Makefile')
-rw-r--r--Documentation/timers/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/timers/Makefile b/Documentation/timers/Makefile
new file mode 100644
index 000000000000..c85625f4ab25
--- /dev/null
+++ b/Documentation/timers/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 := hpet_example
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)