Re: [PATCH v3 13/30] tools: dma: Append extra cflags
From: Qinxin Xia
Date: Mon Mar 09 2026 - 08:20:54 EST
On 2026/3/9 00:46:18, Leo Yan <leo.yan@xxxxxxx> wrote:
Append EXTRA_CFLAGS to CFLAGS so that additional flags can be applied toAcked-by: Qinxin Xia <xiaqinxin@xxxxxxxxxx>
the compiler.
Signed-off-by: Leo Yan <leo.yan@xxxxxxx>
---
tools/dma/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/dma/Makefile b/tools/dma/Makefile
index e4abf37bf020ca613b6dca340299198cb887126a..bdca05c69a8a12a4f9419eed8c1df71adac4f26d 100644
--- a/tools/dma/Makefile
+++ b/tools/dma/Makefile
@@ -16,6 +16,7 @@ endif
# (this improves performance and avoids hard-to-debug behaviour);
MAKEFLAGS += -r
+override CFLAGS += $(EXTRA_CFLAGS)
override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include
ALL_TARGETS := dma_map_benchmark
--
Thanks,
Qinxin