diff options
| author | Sasha Levin <sashal@kernel.org> | 2026-10-11 18:33:32 -0400 |
|---|---|---|
| committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2026-10-13 13:41:48 +0200 |
| commit | 352665c55877368854f87724698dad0b453444eb (patch) | |
| tree | 273243e88ab36d1fae18eb3afcb3a4e47752b05d /tools/perf/scripts/python | |
| parent | 9441e7eca18c8004d1afe57b2f9b27717549562a (diff) | |
| download | lwn-352665c55877368854f87724698dad0b453444eb.tar.gz lwn-352665c55877368854f87724698dad0b453444eb.zip | |
tools/dma: fix building from the top level with O=
"make O=<dir> tools/dma" fails:
Makefile:27: /tools/build/Makefile.include: No such file or directory
tools/Makefile clears srctree, and the dma Makefile only works it out
again when building_out_of_srctree is not set, which the top-level
Makefile sets for O= builds.
Also work out srctree when it is empty, as tools/bpf/Makefile does
since commit a89b2cbf71d64 ("tools, bpf: Fix build for 'make -s
tools/bpf O=<dir>'").
Fixes: f74ee32963f1b ("tools/dma: move dma_map_benchmark from selftests to tools/dma")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Signed-off-by: Sasha Levin <sashal@kernel.org>
Acked-by: Qinxin Xia <xiaqinxin@huawei.com>
Link: https://lore.kernel.org/r/20261011223358.2327625-4-sashal@kernel.org
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
