diff options
author | Bill Yi <byi@google.com> | 2018-11-28 18:35:01 -0800 |
---|---|---|
committer | Bill Yi <byi@google.com> | 2018-11-28 18:35:01 -0800 |
commit | efa61bef1cd526a85102e1cfdd00c64b2f776e4e (patch) | |
tree | a29c45c1ca6f13290d3bd96225acb347ffd17bf9 | |
parent | 34a11c4960d003f338bb1ce8e5f5b8ffc3fcac62 (diff) | |
parent | 525828b0d576bc03d6d319989ac158cbd7f56867 (diff) | |
download | arm-linux-androideabi-4.9-efa61bef1cd526a85102e1cfdd00c64b2f776e4e.tar.gz |
Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releasepie-platform-releasepie-cuttlefish-testing
Change-Id: Ic02b76baa6a29bb08c41cc2bef9be9e2a94e8bae
-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 |