greybus: tools: don't always build them.

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>
This commit is contained in:
Greg Kroah-Hartman 2015-12-17 22:32:03 -08:00
parent d5bc9607f7
commit 70b3b3e77a

View 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))