diff options
| author | Mykola Lysenko <nickolay.lysenko@gmail.com> | 2026-09-21 00:58:47 -0700 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-09-21 11:27:24 +0200 |
| commit | 75ab33a0a50f85085c918c0d2211ca83d18cbb27 (patch) | |
| tree | 8cf594541a2763351c4bb082dcc95f13b72b53a1 /include/linux/debugobjects.h | |
| parent | 48ea1ba704aa3a9975e917411ee05bbe67d65744 (diff) | |
selftests/bpf: Keep headers off the generic link command line
The generic '$(OUTPUT)/%:%.c' rule links with '$(LINK.c) $^', so every
prerequisite reaches the compiler driver. A header argument makes clang
fail with "cannot specify -o when generating multiple output files".
Filter headers out of the link command while retaining them as
prerequisites.
Signed-off-by: Mykola Lysenko <nickolay.lysenko@gmail.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20260921075855.2065871-2-nickolay.lysenko@gmail.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
