[PATCH v2] Add LIBCHECK_CFLAGS to AM_CFLAGS

5 views
Skip to first unread message

Earl Chew

unread,
Jul 14, 2023, 11:31:54 AM7/14/23
to efibootg...@googlegroups.com, jan.k...@siemens.com, Earl Chew
When building unit tests, LIBCHECK_LIBS was already used to find
the corresponding library. Add LIBCHECK_CFLAGS to find the
matching headers.

Signed-off-by: Earl Chew <earl...@yahoo.com>
---
tools/tests/Makefile.am | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/tests/Makefile.am b/tools/tests/Makefile.am
index 71f7159..0fa1512 100644
--- a/tools/tests/Makefile.am
+++ b/tools/tests/Makefile.am
@@ -15,6 +15,7 @@
OBJCOPY ?= objcopy

AM_CFLAGS = \
+ $(LIBCHECK_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/swupdate-adapter \
-I$(top_srcdir)/tools \
--
2.39.1

Jan Kiszka

unread,
Jul 15, 2023, 2:46:19 AM7/15/23
to Earl Chew, efibootg...@googlegroups.com
Thanks, applied.

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux

Reply all
Reply to author
Forward
0 new messages