kernel.mk: set KERNEL_OUT properly

It was hardcoded to $(ANDROID_BUILD_TOP)/$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
which wouldn't exist if OUT_DIR_COMMON_BASE was set to use another dir
(e.g. ramdisk)

Fix it so that it now points to $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
if OUT_DIR is not out

Change-Id: I1bf767d86548e41270d9cbb8f0c00512708501c5
Use google gcc 4.7

Change-Id: Ic581b505f267d6fa3011bc5831aeedabf2255d85

Conflicts:
	envsetup.sh
Add TARGET_GCC_VERSION

Default to 4.6, but can overwritten to something else in
prebuilts/gcc/$os/$arch/$arch-linux-android*-$ver

Change-Id: I16f99d642b8ff8e831d392261a0c536041107051

Conflicts:
	core/combo/TARGET_linux-arm.mk
	core/combo/TARGET_linux-mips.mk
	core/combo/TARGET_linux-x86.mk
	core/dumpvar.mk
[ARM] Extend the usage of TARGET_GCC_VERSION for gdb and arm-eabi-*.

In the future to upgrade the gcc version we just need to edit one
line in core/config.mk.

Change-Id: I01bb38c38f2388913bb7369aa4b2da480411dfbe

Conflicts:
	envsetup.sh
Use GCC 4.7 from google

Noticible preformance improvement
Fixes needed
*Framework/rs
*System/security
*external/oprofile
*external/elfutils
*external/v8

Change-Id: Ic1eadf1fa7df1525471b9c844ac0c4bd9e778330
Export TARGET_GCC_VERSION as an env variable.

Have it referenced by the adbs tool to pick the specified toolchain.

Change-Id: I23df88946254a55d0749d6753e54559faf33e121
Enable 03

*03 for libs
*02 for linker

Change-Id: I42fce84f72c13d4d9f7f2b31f39ad4fa589f297e

Conflicts:
	CleanSpec.mk
Allow configuration of gcc version used for build

You can override the default version by setting the value of
TARGET_GCC_VERSION in the BoardConfig.mk file. For example,
to select version 4.6, add the following:

TARGET_GCC_VERSION := 4.6

Change-Id: I10afb47b18c45e2b913b8af8f34cb98e5e96cbf2