From e30d3b524053cf8d688a1f486a5cde9b67d49e87 Mon Sep 17 00:00:00 2001 From: Dokyung Song Date: Wed, 5 Sep 2018 12:45:17 -0700 Subject: sys/fuchsia: add Go script that generates fidl descriptions --- docs/fuchsia.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/fuchsia.md b/docs/fuchsia.md index 44b6eeaff..ce7b82f1e 100644 --- a/docs/fuchsia.md +++ b/docs/fuchsia.md @@ -48,6 +48,14 @@ Run `syz-manager` with a config along the lines of: ## How to generate syscall description for FIDL +Use `generate_fidl` target to automatically generate syscall descriptions for all the supported FIDL files. + +```bash +make generate_fidl TARGETARCH=amd64 SOURCEDIR=/path/to/fuchsia/checkout +``` + +To manually generate syscall description for a given `.fidl` file, use the following instruction. + FIDL files should first be compiled into FIDL intermediate representation (JSON) files using `fidlc`: ```bash -- cgit mrf-deployment