don't specify "CC=<nothing>" on kernel build command line
authorFelix Fietkau <nbd@openwrt.org>
Tue, 23 Oct 2007 06:23:23 +0000 (06:23 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 23 Oct 2007 06:23:23 +0000 (06:23 +0000)
commit89a37524b290a551446720a9f79b938ba9f93230
tree339dc92cc99c53a93c1547d7e8632c9e12367df6
parent3a5ab101f0a195dee3e614a516c16f585cfd403d
don't specify "CC=<nothing>" on kernel build command line

If KERNEL_CC isn't set, we end up with a "CC=" on the kernel build
command-line. We don't always need CC, as the CROSS_COMPILE flag does
the job instead. In fact, specifying CC messes up the build when we're
using a biarch compiler.

This change doesn't specify CC= if the KERNEL_CC variable is empty.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9408 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/kernel-defaults.mk
include/kernel.mk