Use x86 crossbuild for cross-architecture component on x64-linux (dotnet/coreclr...
authorHyeongseok Oh <hseok82.oh@samsung.com>
Thu, 5 Jan 2017 12:32:44 +0000 (21:32 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 5 Jan 2017 12:32:44 +0000 (13:32 +0100)
commit50aab6d322b420b447e7da811defa0cb2dec76e3
treeb9fbe0f04b75c88b47ae8a00bacee41896e8a53e
parentdf0d7d98dbabd032ec3691f95cd3895b3cd0de9e
Use x86 crossbuild for cross-architecture component on x64-linux (dotnet/coreclr#8722)

* Use x86 crossbuild for cross-architecture component on x64-linux

Fix build.sh and build system generator to use x86 cross-build system on x64-linux
- x86-host/ARM32-target cross-architecture component build on x64 linux
- use x86 root file system and cross buildtool

* Modify build.sh

- define new function: build_cross_arch_component
- fix typo

* Additional fix: build.sh

add usage description
- environment variable: CAC_ROOTFS_DIR
- argument: crosscomponent

Commit migrated from https://github.com/dotnet/coreclr/commit/f66ba4a14a5e729778d66ea6cc1409f0e8b4a5b0
src/coreclr/build.sh
src/coreclr/src/pal/tools/gen-buildsys-clang.sh