Build GCC 4.8.
adb: Don't force -O2

Don't force -O2 over -O3 -- the O2 hardcode is there to force
optimizations, not to reduce them...

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
core: Increase the size of variable for the uevent.<hardware>.rc file name.

    The size of hardware is 32 bytes and the tmp variable should fit
    'uevent.' and '.rc' as well. In some cases like for the ST-Ericsson
    Snowball the 32 bytes were not enouth.
    hardware = "st-ericssonsnowballplatform"

Signed-off-by: Patrik Ryd <patrik.ryd@linaro.org>
core: Increase the size of variable for the init.<hardware>.rc file name.

The size of hardware is 32 bytes and the tmp variable should fit
'init.' and '.rc' as well. In some cases like for the ST-Ericsson
Snowball the 32 bytes were not enouth.
hardware = "st-ericssonsnowballplatform"

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
sync_test: Use -fno-strict-aliasing

Use -fno-strict-aliasing here so we don't have to use it globally.
Performance on tests isn't important anyway.

Change-Id: I92ae7209ced60176cc5608f32b8ff6a911c09f10
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
corkscrew-x86: Fix build with some glibc versions

Make sure __USE_GNU is actually set before ucontext.h is included
(even implicitly).
This should fix the build inside android-build (wasn't broken locally
in the first place).

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
healtd: Send messages to Android log, not the kernel log

If the system doesn't have the expected battery configuration then
healthd is quite noisy with it's log messages during boot and every
minute thereafter. Rather than have this spamming the kernels serial
console, direct this instead to Android's logging system.

This also has the effect of working around a serial port bug on
vexpress: https://bugs.launchpad.net/linaro-android/+bug/1254738
but reducing mostly spurious serial port noise is a good aim in itself.

Change-Id: I0eff5637009cfee47891a9c2363145634cbf0ae1
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Fix build with GCC 4.8
Revert ' sync_test: Use -fno-strict-aliasing'
Merge branch 'EXP' into mintkat
Add some fixes for GCC 4.8.