build/core: Don't use -fno-strict-aliasing

Don't use -fno-strict-aliasing: It's no longer needed.

Change-Id: I7b6e9524197dc152b57a8d1900dd6d7f9fe3452d
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build: Use -Wno-error=strict-aliasing for the HOST compiler

Since everyone uses his own host compiler, and there's still a lot
of broken compilers that report false positives (gcc <= 4.5) around,
use -Wno-error=strict-aliasing for the HOST compiler.

If things are broken on the host side, we'll notice at build time
anyway.

Change-Id: I1a7db826866c4342d168c1efa7971a988d199d3a
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Revert "build: Use -Wno-error=strict-aliasing for the HOST compiler"

This reverts commit 074b9cc5c5308afeb0b83c68a7a1393edb5caead.
The commit prepended -Wno-error=strict-aliasing and was overridden.
Will commit a proper fix.
build: Don't add -fno-strict-aliasing to HOST compiler flags

Change-Id: I07eef86f11ec3761e0922855cb6ff881c2773966
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build: Explicitly disable -Werror=strict-alising for HOST builds

Change-Id: Ib1e834951196ab3ea6acbe47c27eebe5633f55d2
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build/core: Build in ISOC++11 mode if possible

Add -std=gnu++11 if the compiler supports it

Change-Id: Ied8b4487263172b678fd2912cfe428187b2edf95
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
full_base_telephony: Disable roaming by default

Roaming enabled by default can lead to nasty surprises
especially on builds that get flashed over and over again
(each time losing WiFi passwords...)
Better default to turning it off.

Change-Id: I71e3a432a4a221e1fb26b6c68198830fbb6705bd
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build: Allow building with OpenJDK v1.7

Ubuntu-12.10 ships with OpenJDK v1.7 and AOSP errors out if you try
to build it with JAVA version other than 1.6. Linaro Android build
with JAVA v1.7, boot tested on Origen 4412, seems to work fine.

Change-Id: I8ca783b48de80131f830139a33d8fc0aa92c562c
build: Add option to disable strict-aliasing optimizations

This is useful for builds that pull in unmodified AOSP repositories
that can't be compiled with strict-aliasing compliance enabled

Change-Id: I0599127b1e113c0799dd8fa92db00b989ebc9bd3
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build/core: Add option to disable C++11 bits

Change-Id: I45294e8c19bf7cdf200b45fbd114ccd75c4e3ca9
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Remove vendor module checks
Revert "product/core: Install busybox, lrzsz, ffmpeg, x264"

This reverts commit 4e667d6eb79e93f89580fab7badddb7d92b5d111.
Revert "build: Make sure boot.img depends on the kernel having been built"

This reverts commit 017a85be346a2ec19e059b33911313c4a837771a.