From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Sasha Levin <sashal@kernel.org>, Barry Song <baohua@kernel.org>,
Qinxin Xia <xiaqinxin@huawei.com>
Cc: stable@vger.kernel.org, iommu@lists.linux.dev,
linux-kernel@vger.kernel.org, bpf@vger.kernel.org
Subject: Re: [PATCH] tools/dma: fix building from the top level with O=
Date: Tue, 13 Oct 2026 13:42:54 +0200 [thread overview]
Message-ID: <6b66c6fb-14d2-4d71-b638-59e7595e4896@samsung.com> (raw)
In-Reply-To: <20261011223358.2327625-4-sashal@kernel.org>
On 12.10.2026 00:33, Sasha Levin wrote:
> "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>
Applied to dma-mapping-for-next. Thanks!
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
prev parent reply other threads:[~2026-10-13 11:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20261011223410eucas1p1db84283e5fc98bfb7d0bdeff84fd1a7c@eucas1p1.samsung.com>
2026-10-11 22:33 ` Sasha Levin
2026-10-13 2:09 ` Qinxin Xia
2026-10-13 11:42 ` Marek Szyprowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6b66c6fb-14d2-4d71-b638-59e7595e4896@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=baohua@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=iommu@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=xiaqinxin@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®