Support to build executables for TARGET_2ND_ARCH

By default, an executable is built for TARGET_ARCH.
To build it for TARGET_2ND_ARCH in a 64bit product, use:
LOCAL_32BIT_ONLY := true
To skip a module for TARGET_2ND_ARCH, use:
LOCAL_NO_2ND_ARCH := true

Bug: 11654773
Change-Id: Ieb293d25b21024bfe1b554044df338e064ac7b46
Make sure to install the .odex when running "make <module_name>"

Change-Id: I64195294dad15b7d379d667f4c4738c2808fd384
Support arch-specific LOCAL_ variables

With those variables, you can set up different values for TARGET_ARCH
and TARGET_2ND_ARCH.
Also fixed a couple of variables.

Bug: 11654773
Change-Id: I4c7684a562cd5877d18f67d4f848b8df07d0103b

Conflicts:
	core/base_rules.mk
Merge "Load compiler environment for a second arch."
Merge "Set up rules to build static libraries for TARGET_2ND_ARCH"
Merge "Set up rules to build shared libraries for TARGET_2ND_ARCH"
Merge "Replace all references to LOCAL_GENERATED_SOURCES with my_generated_sources"
Merge "Support to build executables for TARGET_2ND_ARCH"
Merge "Make sure to install the .odex when running "make <module_name>""
Merge "Support arch-specific LOCAL_ variables"
build: use arm kernel headers for arm 2nd arch builds

Compiling for arm requires using the arm kernel headers and not
the aarch64 kernel headers.  Add $(combo_2nd_arch_prefix) to get
asm-$(TARGET_2ND_ARCH) when arm is the 2nd arch.

Change-Id: I15270d0ef35e48c034bf4d0d5e35b76f67b2a8e1
Merge "build: use arm kernel headers for arm 2nd arch builds"
build: use correct arm vs thumb arguments for 2nd arch builds

Set arm_objects_mode and normal_objects_mode when building a
module for arm when it is the 2nd arch.

Change-Id: I5f7df519b6e1dde6cbf92d106681f07a58e1f1f2
Merge "build: use correct arm vs thumb arguments for 2nd arch builds"
am 732bdb28: Merge "Load compiler environment for a second arch."

* commit '732bdb28f2e39cf97b22271481b2249b22add87f':
  Load compiler environment for a second arch.
am e7345edc: Merge "Set up rules to build static libraries for TARGET_2ND_ARCH"

* commit 'e7345edc1100ffd33e6434b0edc9d3b0f09d5c94':
  Set up rules to build static libraries for TARGET_2ND_ARCH
am a07de328: Merge "Set up rules to build shared libraries for TARGET_2ND_ARCH"

* commit 'a07de328e0557068f2503ed0aa20ddc684ed1c40':
  Set up rules to build shared libraries for TARGET_2ND_ARCH
am 7da9740a: Merge "Replace all references to LOCAL_GENERATED_SOURCES with my_generated_sources"

* commit '7da9740acdf30356512bea414d4af6efd6db3e40':
  Replace all references to LOCAL_GENERATED_SOURCES with my_generated_sources
build: print module that has unhandled install path

Print the name of the module that is providing an unhandled install
path.

Change-Id: I0e8b02f01de1dde715f0985034ad943f793218ba

Conflicts:
	core/base_rules.mk
Merge "build: print module that has unhandled install path"