aboutsummaryrefslogtreecommitdiffstats
path: root/docs/fuchsia/README.md
diff options
context:
space:
mode:
authorPascal Perez <pascallouis@google.com>2019-05-20 17:31:38 -0400
committerMarco Vanotti <mvanotti@users.noreply.github.com>2019-05-21 14:55:36 -0700
commit77beeccbe014ce49ef54a564d7dc8d116d5216e3 (patch)
tree60407e8c826bf25ba53c3b21d31efd4407f62f55 /docs/fuchsia/README.md
parent13427bd9a952fddd2f59aaca90a76fe209f6c9c9 (diff)
sys: Updating Fuchsia extraction scripts
Consolidating FIDL library build mappings in one place, so that it can be used from extraction, and script invoking fidlgen. This also makes code clearer, and provides a more natural path for evolutions / dealing with oddities. Minor doc update post fx command changes.
Diffstat (limited to 'docs/fuchsia/README.md')
-rw-r--r--docs/fuchsia/README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/fuchsia/README.md b/docs/fuchsia/README.md
index 5dddb8f50..93a212c0e 100644
--- a/docs/fuchsia/README.md
+++ b/docs/fuchsia/README.md
@@ -3,18 +3,19 @@
For information about checking out and building Fuchsia see
[Getting Started](https://fuchsia.googlesource.com/fuchsia/+/master/docs/getting_started.md)
and [Soure Code](https://fuchsia.googlesource.com/fuchsia/+/master/docs/development/source_code/README.md).
+
+You need to build fuchsia for both amd64 and arm64:
+
```shell
-$ fx set core.x64 --build-dir "out/x64" \
- --args extra_authorized_keys_file=\"//.ssh/authorized_keys\"
-$ fx full-build
+$ fx --dir "out/x64" set core.x64
+$ fx clean-build
```
-You need to build fuchsia for both arm64 and amd64:
+And
```shell
-$ fx set core.arm64 --build-dir "out/arm64" \
- --args extra_authorized_keys_file=\"//.ssh/authorized_keys\"
-$ fx full-build
+$ fx --dir "out/arm64" set core.arm64
+$ fx clean-build
```
Syscall descriptions live in the `sys/fuchsia` folder. To update a syscall, you need to modify the `.txt` file that contains it, make sure your new definition matches the one in zircon's [syscalls.abigen](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/system/public/zircon/syscalls.abigen) file. **If the syscall was used in `executor/common_fuchsia.h`, you need to update the usages there as well**. FIDL definitions do not need manual updating because they are extracted automatically with the commands below.