summaryrefslogtreecommitdiff
path: root/samples/kdbus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/kdbus/Makefile')
-rw-r--r--samples/kdbus/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/kdbus/Makefile b/samples/kdbus/Makefile
new file mode 100644
index 0000000..d009025
--- /dev/null
+++ b/samples/kdbus/Makefile
@@ -0,0 +1,10 @@
+# kbuild trick to avoid linker error. Can be omitted if a module is built.
+obj- := dummy.o
+
+hostprogs-y += kdbus-workers
+
+always := $(hostprogs-y)
+
+HOSTCFLAGS_kdbus-workers.o += \
+ -I$(objtree)/usr/include/ \
+ -I$(objtree)/include/uapi/