diff options
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 801cffa37..08c7c539a 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"], |