summaryrefslogtreecommitdiffstats
path: root/package/cryptodev-linux/0002-fix-ccache-compile.patch
blob: 058fb434e4317cb0beb15b3606b6ace0c055df51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Fix compilation with ccache enabled

When ccache is enabled the CROSS_COMPILE variable contains a space, so
it must be properly quoted.

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>

Index: cryptodev-linux-1.7/Makefile
===================================================================
--- cryptodev-linux-1.7.orig/Makefile
+++ cryptodev-linux-1.7/Makefile
@@ -18,7 +18,7 @@ ifneq (${ARCH},)
 KERNEL_MAKE_OPTS += ARCH=${ARCH}
 endif
 ifneq (${CROSS_COMPILE},)
-KERNEL_MAKE_OPTS += CROSS_COMPILE=${CROSS_COMPILE}
+KERNEL_MAKE_OPTS += CROSS_COMPILE="${CROSS_COMPILE}"
 endif
 
 build: version.h
OpenPOWER on IntegriCloud