From: Greg Kroah-Hartman Date: Fri, 18 Dec 2015 06:32:03 +0000 (-0800) Subject: greybus: tools: don't always build them. X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~913 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=70b3b3e77a87d40ceae6e5f4f6afedbd725fd636;p=karo-tx-linux.git 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 --- 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))