This is a git formatted patch, so use 'patch -p1' to apply the patch.
=== patch comment start ===
makefile.inc: use CROSS_COMPILE variable for selecting a toolchain
By default CHDK uses toolchain with the 'arm-elf-' prefix.
If you want to change toolchain you need to change many
variables (e.g. CC, OBJCOPY etc).
In linux kernel the CROSS_COMPILE variable makes
this work easier. Let's use the same approach for CHDK too.
Usage. Just define CROSS_COMPILE in cmdline:
make CROSS_COMPILE=/my/toolchain/path/and/arm-pre-fix-
=== patch comment end ===