diff options
author | Bill Yi <byi@google.com> | 2018-11-30 11:36:58 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-30 11:36:58 -0800 |
commit | 09518d29069cf5993d0ef25c96a09bc851819b54 (patch) | |
tree | 05d61bc5b0518566a6bd12ce9b1792dae75d7cf5 | |
parent | cb7b3ac1b7fdb49474ff68761909934d1142f594 (diff) | |
parent | b91992b549430ac1a8a684f4bfe8c95941901165 (diff) | |
download | arm-linux-androideabi-4.9-09518d29069cf5993d0ef25c96a09bc851819b54.tar.gz |
Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releasepie-gsi
am: b91992b549
Change-Id: I501d1b1e4adde425c0daff833f19efbefa9c7e06
-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 |