summaryrefslogtreecommitdiffstats
path: root/Documentation/watchdog/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/watchdog/src/Makefile')
-rw-r--r--Documentation/watchdog/src/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/watchdog/src/Makefile b/Documentation/watchdog/src/Makefile
new file mode 100644
index 0000000..40e5f46
--- /dev/null
+++ b/Documentation/watchdog/src/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 := watchdog-simple watchdog-test
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
OpenPOWER on IntegriCloud