allyesconfig on sandbox detects that firmware misses the annotation,
which we already have for environment, DTs and other generated assembly
files. Fix it there too.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 firmware/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/firmware/Makefile b/firmware/Makefile
index 75812cb6bf24..efdd5c0da541 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -45,6 +45,7 @@ ASM_ALIGN = $(if $(CONFIG_64BIT),3,2)
 
 filechk_fwbin = { \
        echo "/* Generated by $(src)/Makefile */"               ;\
+       echo ".section .note.GNU-stack,\"\",%progbits"          ;\
        echo "    .section $2,\"$3\""                           ;\
        echo "    .p2align $(ASM_ALIGN)"                        ;\
        echo ".global _fw_$(FWSTR)_start"                       ;\
-- 
2.39.2


Reply via email to