From 70b3b3e77a87d40ceae6e5f4f6afedbd725fd636 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 17 Dec 2015 22:32:03 -0800 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 7fd1fc392809..29c4c8b25f13 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -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)) -- 2.20.1