diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-06-18 09:32:02 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-06-18 09:32:02 +0000 |
commit | df54d6bb4224366494f2e5983bedb472c3866884 (patch) | |
tree | 981d4e00a9d0664547c44bfefa9989264e181541 | |
parent | 1d3f96d7bb4afba5cb41b6e9574b2adcb9b090f2 (diff) | |
parent | 309aefd83c4adb20482e2863899914f47a31fe39 (diff) | |
download | arm-linux-androideabi-4.9-df54d6bb4224366494f2e5983bedb472c3866884.tar.gz |
Snap for 4846063 from 309aefd83c4adb20482e2863899914f47a31fe39 to qt-release
Change-Id: I40ef041689e341351535016d7cc92faa7843933a
-rwxr-xr-x[l---------] | arm-linux-androideabi/bin/as | 15 | ||||
l--------- | arm-linux-androideabi/bin/as.real | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/arm-linux-androideabi/bin/as b/arm-linux-androideabi/bin/as index 5378e97..3c8c5f1 120000..100755 --- a/arm-linux-androideabi/bin/as +++ b/arm-linux-androideabi/bin/as @@ -1 +1,14 @@ -../../bin/arm-linux-androideabi-as
\ No newline at end of file +#! /usr/bin/python + +from sys import argv +from subprocess import check_call + +if __name__ == '__main__': + for index, arg in enumerate(argv): + if arg == '-mcpu=cortex-a55': + argv[index] = '-mcpu=cortex-a53' + elif arg == '-mcpu=cortex-a75': + argv[index] = '-mcpu=cortex-a73' + + argv[0] = argv[0] + '.real' + check_call(argv) diff --git a/arm-linux-androideabi/bin/as.real b/arm-linux-androideabi/bin/as.real new file mode 120000 index 0000000..5378e97 --- /dev/null +++ b/arm-linux-androideabi/bin/as.real @@ -0,0 +1 @@ +../../bin/arm-linux-androideabi-as
\ No newline at end of file |