fw: Make splint work on current code.

This commit is contained in:
Michael Cardell Widerkrantz 2025-04-10 16:20:44 +02:00 committed by Mikael Ågren
parent b70d42471b
commit 2746070402
No known key found for this signature in database
GPG Key ID: E02DA3D397792C46

View File

@ -222,7 +222,7 @@ check:
.PHONY: splint
splint:
splint \
-nolib \
+unixlib \
-predboolint \
+boolint \
-nullpass \
@ -233,6 +233,12 @@ splint:
-unreachable \
-unqualifiedtrans \
-fullinitblock \
+gnuextensions \
-fixedformalarray \
-mustfreeonly \
-I $(LIBDIR)/include \
-I $(LIBDIR) \
-I $(LIBDIR)/blake2s \
$(CHECK_SOURCES)
testfw.elf: tkey-libs $(TESTFW_OBJS) $(P)/fw/tk1/firmware.lds