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

From: Jiri Slaby
Date: Tue Mar 24 2015 - 12:46:09 EST


On 03/09/2015, 02:09 PM, Greg Kroah-Hartman wrote:
> --- /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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/