diff options
author | Joe Stringer <joe@cilium.io> | 2021-03-02 18:19:41 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-03-05 03:39:45 +0100 |
commit | 923a932c982fd71856f80dbeaaa3ca41a75e89e0 (patch) | |
tree | 31095f41cba6ff18b0d8013ac67f480d89310593 /tools/bpf | |
parent | bpf: Document BPF_MAP_*_BATCH syscall commands (diff) | |
download | linux-923a932c982fd71856f80dbeaaa3ca41a75e89e0.tar.xz linux-923a932c982fd71856f80dbeaaa3ca41a75e89e0.zip |
scripts/bpf: Abstract eBPF API target parameter
Abstract out the target parameter so that upcoming commits, more than
just the existing "helpers" target can be called to generate specific
portions of docs from the eBPF UAPI headers.
Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20210302171947.2268128-10-joe@cilium.io
Diffstat (limited to 'tools/bpf')
-rw-r--r-- | tools/bpf/Makefile.helpers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/Makefile.helpers b/tools/bpf/Makefile.helpers index 854d084026dd..a26599022fd6 100644 --- a/tools/bpf/Makefile.helpers +++ b/tools/bpf/Makefile.helpers @@ -35,7 +35,7 @@ man7: $(DOC_MAN7) RST2MAN_DEP := $(shell command -v rst2man 2>/dev/null) $(OUTPUT)$(HELPERS_RST): $(UP2DIR)../../include/uapi/linux/bpf.h - $(QUIET_GEN)$(UP2DIR)../../scripts/bpf_helpers_doc.py --filename $< > $@ + $(QUIET_GEN)$(UP2DIR)../../scripts/bpf_doc.py --filename $< > $@ $(OUTPUT)%.7: $(OUTPUT)%.rst ifndef RST2MAN_DEP |