Skip to contentSkip to conversation

jimtcl: don't attempt to handle ccache internally

PATCH New Thomas De Schampheleire 2 participants 2 messages Feb 14, 2014 – Feb 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jimtcl: don't attempt to handle ccache internally

jimtcl tries to use 'ccache' (a non-buildroot host version) which may not exist on the host system. If ccache is enabled in buildroot, the compiler used by jimtcl is:
ccache <buildroot>/.../ccache <buildroot>/.../<tuple>-gcc

If ccache is not present on the host, this results in the build error:

ccache <buildroot>/.../ccache <buildroot>/.../<tuple>-gcc
-D_GNU_SOURCE -Wall -I. -fpic -pipe -Os -c -o jim-subcmd.o jim-subcmd.c
make[1]: ccache: Command not found

This patch passes 'CCACHE=none' to the 'configure' script, disabling the internal handling of ccache, so that ccache can be transparently passed through CC.

---
 package/jimtcl/jimtcl.mk |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/jimtcl/jimtcl.mk +1 -1
@@ -38,7 +38,7 @@ endif
 
 define JIMTCL_CONFIGURE_CMDS
 	(cd $(@D); \
-		$(TARGET_CONFIGURE_OPTS) \
+		$(TARGET_CONFIGURE_OPTS) CCACHE=none \
 		./configure --prefix=/usr \
 		$(JIMTCL_SHARED) \
 	)
#1 lore raw

PATCH 1/1 jimtcl: don't attempt to handle ccache internally

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

jimtcl tries to use 'ccache' (a non-buildroot host version) which may not exist on the host system. If ccache is enabled in buildroot, the compiler used by jimtcl is:
ccache <buildroot>/.../ccache <buildroot>/.../<tuple>-gcc

If ccache is not present on the host, this results in the build error:

ccache <buildroot>/.../ccache <buildroot>/.../<tuple>-gcc
-D_GNU_SOURCE -Wall -I. -fpic -pipe -Os -c -o jim-subcmd.o jim-subcmd.c
make[1]: ccache: Command not found

Quoted 5 lines

This patch passes 'CCACHE=none' to the 'configure' script, disabling the internal handling of ccache, so that ccache can be transparently passed through CC.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard