0daa78eef4
Overwrite TARGET_(2ND_)ARCH_VARIANT as armv8-a if TARGET_(2ND_)CPU_VARIANT is set to some known armv8-a core like cortex-a53, cortex-a73, kryo, denver64 etc. For clang, -march is ignored if -mcpu is set to specific core so this change doen't impact the objects built for armv7-a-neon/some_armv8_core since it's treated as armv8-a/some_armv8_core. Bug: 62895439 Test: Built modified aosp_arm64 with armv8-a as its TARGET_2ND_CPU_ARCH and generic as its TARGET_2ND_CPU_VARIANT successfully. "lunch hikey-userdebug; make" and verify TARGET_2ND_ARCH_VARIANT is overwritten. Change-Id: If4260cf397783b5f56c4fd432615f4676429a1d3 |
||
---|---|---|
.. | ||
board | ||
product |