From 7b7d6b392a963b462c0240296daa38d6413f6246 Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Fri, 3 Jul 2015 14:45:03 +0200 Subject: [PATCH] Makefile: quote CROSS_COMPILE When using a CROSS_COMPILE value that contains a whitespace, such as "ccache arm-linux-", building fails because only the first word is passed down to the kernel Makefile as CROSS_COMPILE. Successive words are interpreted as targets. Fix by quoting CROSS_COMPILE. Signed-off-by: Luca Ceresoli --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ea1b316..76db121 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,7 @@ export CONFIG_RTL8188EU = m all: modules modules: - $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules + $(MAKE) ARCH=$(ARCH) CROSS_COMPILE="$(CROSS_COMPILE)" -C $(KSRC) M=$(shell pwd) modules strip: $(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded