package/cryptodev-linux: ccache compile fix
PATCH 1/1 package/cryptodev-linux: ccache compile fix
cryptodev-linux fails to build when BR2_CCACHE=y.
Quoted 1 line
Quoted 1 line
Quoted 1 line
cryptodev-linux 1.7 Building
/usr/bin/make -j5 -C /home/dkehn/buildroot/output/build/cryptodev-linux-1.7 HOSTCC="/home/dkehn/buildroot/output/host/usr/bin/ccache /usr/bin/gcc" HOSTCFLAGS="" ARCH=arm INSTALL_MOD_PATH=/home/dkehn/buildroot/output/target CROSS_COMPILE="/home/dkehn/buildroot/output/host/usr/bin/ccache /home/dkehn/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabihf-" DEPMOD=/home/dkehn/buildroot/output/host/sbin/depmod LOADADDR="0x82000000" KERNEL_DIR=/home/dkehn/buildroot/output/build/linux-2489c022b2932432606f897741a71b712e6dbe77 make -C /home/dkehn/buildroot/output/build/linux-2489c022b2932432606f897741a71b712e6dbe77 SUBDIRS=pwd ARCH=arm CROSS_COMPILE=/home/dkehn/buildroot/output/host/usr/bin/ccache /home/dkehn/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabihf- modules
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[3]: /home/dkehn/buildroot/output/host/usr/bin/ccachegcc: Command not found
Adding quotes around ${CROSS_COMPILE} KERNEL_MAKE_OPTS assignment in cryptodev-linux Makefile fixes compile error.
--- package/cryptodev-linux/0002-fix-ccache-compile.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/cryptodev-linux/0002-fix-ccache-compile.patch
package/cryptodev-linux/0002-fix-ccache-compile.patch new file +13 -0
@@ -0,0 +1,13 @@ +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
Signature · 1 line
2.3.5
PATCH 1/1 package/cryptodev-linux: ccache compile fix
Dear Doug Kehn,
Quoted 8 lines · Doug Kehn
cryptodev-linux fails to build when BR2_CCACHE=y.
Quoted 1 line
Quoted 1 line
Quoted 1 line
cryptodev-linux 1.7 Building
/usr/bin/make-j5 -C/home/dkehn/buildroot/output/build/cryptodev-linux-1.7HOSTCC="/home/dkehn/buildroot/output/host/usr/bin/ccache/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm INSTALL_MOD_PATH=/home/dkehn/buildroot/output/target CROSS_COMPILE="/home/dkehn/buildroot/output/host/usr/bin/ccache/home/dkehn/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabihf-" DEPMOD=/home/dkehn/buildroot/output/host/sbin/depmod LOADADDR="0x82000000" KERNEL_DIR=/home/dkehn/buildroot/output/build/linux-2489c022b2932432606f897741a71b712e6dbe77 make -C/home/dkehn/buildroot/output/build/linux-2489c022b2932432606f897741a71b712e6dbe77SUBDIRS=pwdARCH=arm CROSS_COMPILE=/home/dkehn/buildroot/output/host/usr/bin/ccache/home/dkehn/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabihf-modules
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[3]:/home/dkehn/buildroot/output/host/usr/bin/ccachegcc: Command not found
Quoted 8 lines
Adding quotes around ${CROSS_COMPILE}
KERNEL_MAKE_OPTSassignment in cryptodev-linuxMakefilefixes compile error.Signed-off-by Doug Kehn <[email protected]>--- package/cryptodev-linux/0002-fix-ccache-compile.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/cryptodev-linux/0002-fix-ccache-compile.patch
You forgot a description and SoB line in the patch itself, so I've added these and committed.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com