greybus: tools: don't always build them.
authorGreg Kroah-Hartman <gregkh@google.com>
Fri, 18 Dec 2015 06:32:03 +0000 (22:32 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 18 Dec 2015 06:32:03 +0000 (22:32 -0800)
This breaks the kernel-only build as it can't find any userspace headers
with the cross-compiler, so don't build the tools by "default" unless
you ask for them.

Reported-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile

index 7fd1fc392809603489078c18d79a2e18887d01a9..29c4c8b25f136bec09c4988739986288568cb478 100644 (file)
@@ -85,7 +85,7 @@ ccflags-y := -Wall
 # needed for trace events
 ccflags-y += -I$(src)
 
-all: module tools
+all: module
 
 tools::
        $(MAKE) -C tools KERNELDIR=$(realpath $(KERNELDIR))