aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2022-10-10 14:33:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-10-10 14:33:59 +0000
commit40761496ad5112f66c20424a3c5dfa16e9c76f7e (patch)
tree7325290b612bb1a0a119e5312772e40f7d3615cc
parent90d369459ca896e087331409028d3c4960344da7 (diff)
parent616f77ee7e55ec7c36e4c61c312957bfc7d4a4d3 (diff)
downloadstrace-40761496ad5112f66c20424a3c5dfa16e9c76f7e.tar.gz
Merge "Add riscv64 support"
-rw-r--r--Android.bp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 801cffa3..08c7c539 100644
--- a/Android.bp
+++ b/Android.bp
@@ -170,6 +170,7 @@ cc_binary {
"renameat.c",
"resource.c",
"retval.c",
+ "riscv.c",
"rtc.c",
"rtnl_addr.c",
"rtnl_addrlabel.c",
@@ -292,6 +293,14 @@ cc_binary {
"linux",
],
},
+ riscv64: {
+ cflags: ["-DRISCV=1"],
+
+ local_include_dirs: [
+ "linux/riscv",
+ "linux",
+ ],
+ },
x86: {
cflags: ["-DI386=1"] + ["-DHAVE_STRUCT___OLD_KERNEL_STAT=1"],