Thread (40 messages) flat view 40 messages, 9 authors, 2015-04-08

Re: [PATCH 13/14] kdbus: add walk-through user space example

From: Jiri Slaby <hidden>
Date: 2015-03-24 16:46:06
Also in: lkml

On 03/09/2015, 02:09 PM, Greg Kroah-Hartman wrote:
quoted hunk ↗ jump to hunk
--- /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)
Errr, no. Not only it causes build failures (even with KDBUS=n), it
definitely should not be built for everyone.

And why is it a host prog? It's a sample prog for the kernel I am
building, i.e. for the destination arch, like all the other samples.

thanks,
-- 
js
suse labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help