package/opencv: fix build failure on x86
[buildroot-gz.git] / package / owl-linux / owl-linux-fix-CROSS_COMPILE-usage-in-Makefile.patch
blob14b46316245a2e7771ccfd843763a90b88064ef1
1 Fix the owl-linux Makefile so that it protects spaces in the CROSS_COMPILE
2 variable. For example, this variable will contain spaces if ccache is used.
4 Signed-off-by: Simon Dawson <spdawson@gmail.com>
5 diff -Nurp a/Makefile b/Makefile
6 --- a/Makefile 2012-06-14 10:51:45.000000000 +0100
7 +++ b/Makefile 2012-07-20 10:46:41.636752148 +0100
8 @@ -35,7 +35,7 @@ else
9 PWD := $(shell pwd)
11 default:
12 - $(MAKE) -C $(KERNELDIR) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) M=$(PWD) MODE=$(MODE) modules
13 + $(MAKE) -C $(KERNELDIR) ARCH=$(ARCH) CROSS_COMPILE="$(CROSS_COMPILE)" M=$(PWD) MODE=$(MODE) modules
15 clean:
16 -rm -f *.o *.mod.c *.ko modules.order Module.symvers