Commit Graph

7 Commits

Author SHA1 Message Date
Nick Desaulniers
0856e25f44 ANDROID: enable LLVM_IAS=1 for clang's integrated assembler for aarch64
Step 8 of:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/BINUTILS_KERNEL_DEPRECATION.md

x86_64 is blocked on AOSP LLVM not yet containing:
Link: 3c2a56a857

32b arm is blocked on quite a few different issues:
Link: https://lore.kernel.org/linux-arm-kernel/CAKwvOdndZRv+_FaNFUBtT=zEPG3mh2cb9vfRFCsU5Dus4zzcEw@mail.gmail.com/

Bug: 141693040
Bug: 169938486
Bug: 171348143
Bug: 172699078
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I2d8ca9c8218a2ad96505daa9f029ed5a3bdb3661
2021-01-11 17:34:43 -08:00
Nick Desaulniers
be047631de Revert "ANDROID: Kbuild, LLVMLinux: allow overriding clang target triple"
This reverts commit 4c451dba25.

AOSP's distribution of GNU binutils always had a curious target triple
prefix on the binaries.  Now that GNU binutils is deprecated for Android
Common Kernels, we can now remove this out of tree workaround. Now
building Android kernels with LLVM matches upstream (see
Documentation/kbuild/llvm.rst).

Bug: 118439987
Bug: 120440614
Bug: 141693040
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Iecaa3264a440f795f2f3a44bdf74fe28ad4ed1cc
2020-11-10 11:47:24 -08:00
Will McVicker
8506fc4729 ANDROID: Publish uncompressed Image on aarch64
So we can use the new download_from_ci script.

Bug: 172085130
Change-Id: I679ba3fc334b29ae82806f09e2acfc4dad486bd1
Signed-off-by: Will McVicker <willmcvicker@google.com>
2020-11-01 15:13:43 +00:00
Nick Desaulniers
d04d01063d ANDROID: move builds to use gas prebuilts
Completes stage 5 of:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/BINUTILS_KERNEL_DEPRECATION.md

Bug: 141693040
Test: remove host binutils (easy for cross compiling, hard for host
tools), rebuild multiple configs including cuttlefish configs which rely
on these.
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ia88f4f6572049c0173742aee95df824c0f31c050
2020-10-19 21:13:08 +00:00
Nick Desaulniers
141de28f95 ANDROID: use arm-linux-androidkernel- for CROSS_COMPILE_COMPAT
While ultimately resulting in the same binary being used, this allows
the arm64 compat vdso to use the same target triple as an ARCH=arm build
for Android.

This means that arm-linux-androideabi-elfedit doesn't need to be created
in: https://android.googlesource.com/platform/prebuilts/gas/linux-x86/.

Bug: 141693040
Test: BUILD_CONFIG=common/build.config.gki.aarch64 ./build/build.sh
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Iecebbfe2588615399c73255fd89d0c5ce42db9c0
2020-10-02 00:18:00 +00:00
Mark Salyzyn
a1728ecf5a ANDROID: add compat cross compiler
Allows compilation of vdso32

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 154668398
Change-Id: I9b2c5995acfbb8a45c059078fcb2c6aa5db86398
2020-04-27 22:52:19 -07:00
Matthias Maennich
f04f84fdeb ANDROID: refactor build.config files to remove duplication
The build.config.* files largely contain duplicate information by their
nature. Reorganize them reduce duplication and to allow adding new
configurations without copying the definitions again.

Bug: 140224784
Change-Id: I6a3810a125b0ed48591690ca33bb5c02be58218a
Signed-off-by: Matthias Maennich <maennich@google.com>
2019-10-22 18:27:12 -07:00