From dae2de39cd90a39bc4953893ab738c5966eab6a7 Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Thu, 14 Nov 2024 08:55:24 +0100 Subject: [PATCH] soc: mediatek: mt8195_adsp: add support for LLEXT build The linker script for this SoC was not including the LLEXT section definitions when CONFIG_LLEXT was enabled. This patch adds the missing include directive to the linker script. Signed-off-by: Luca Burelli --- soc/mediatek/mtk_adsp/mt8195_adsp/linker.ld | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soc/mediatek/mtk_adsp/mt8195_adsp/linker.ld b/soc/mediatek/mtk_adsp/mt8195_adsp/linker.ld index 37e11375c3b4f..b58b91e5dc97f 100644 --- a/soc/mediatek/mtk_adsp/mt8195_adsp/linker.ld +++ b/soc/mediatek/mtk_adsp/mt8195_adsp/linker.ld @@ -136,4 +136,7 @@ SECTIONS { */ #include +#ifdef CONFIG_LLEXT +#include +#endif } /* SECTIONS */