summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/cryptodev-linux/0002-fix-ccache-compile.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/cryptodev-linux/0002-fix-ccache-compile.patch b/package/cryptodev-linux/0002-fix-ccache-compile.patch
new file mode 100644
index 0000000000..058fb434e4
--- /dev/null
+++ b/package/cryptodev-linux/0002-fix-ccache-compile.patch
@@ -0,0 +1,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