[PATCH 01/41] Find p11-kit options via pkg-config

10 views
Skip to first unread message

Stefano Babic

unread,
Jul 22, 2025, 2:00:34 AM7/22/25
to swup...@googlegroups.com, Stefano Babic
Signed-off-by: Stefano Babic <stefan...@swupdate.org>
---
Makefile.flags | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Makefile.flags b/Makefile.flags
index e9b2acaa..dac73a36 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -168,6 +168,9 @@ LDLIBS += wolfssl
endif

ifeq ($(CONFIG_PKCS11),y)
+$(eval $(call pkg_check_modules, P11BUILD, "p11-kit-1"))
+KBUILD_CFLAGS += $(P11BUILD_CFLAGS)
+KBUILD_LIBS += $(P11BUILD_LIBS)
LDLIBS += p11-kit
endif

--
2.43.0

Stefano Babic

unread,
Jul 24, 2025, 9:21:18 AM7/24/25
to swup...@googlegroups.com, Stefano Babic, Michael Glembotzki
Signed-off-by: Stefano Babic <stefan...@swupdate.org>
Tested-by: Michael Glembotzki <Michael.G...@iris-sensing.com>
Reply all
Reply to author
Forward
0 new messages