* [PATCH] scripts: fix pkg-config use for mksimage hosttool
@ 2023-08-07 7:19 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2023-08-07 7:19 UTC (permalink / raw)
To: Barebox List
mxsimage needs openssl but doesn't set the cflags accordingly.
This is no problem most of the time as `pkg-config --cflags openssl`
is often empty. Sometimes it's not, how the last patch revealed, so
set HOSTCFLAGS_mxsimage.o correctly.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
scripts/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/Makefile b/scripts/Makefile
index 0ad166af9d..749990a527 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -31,6 +31,7 @@ hostprogs-always-$(CONFIG_RK_IMAGE) += rkimage
HOSTCFLAGS_rkimage.o = `pkg-config --cflags openssl`
HOSTLDLIBS_rkimage = `pkg-config --libs openssl`
KBUILD_HOSTCFLAGS += -I$(srctree)/scripts/include/
+HOSTCFLAGS_mxsimage.o = `pkg-config --cflags openssl`
HOSTLDLIBS_mxsimage = `pkg-config --libs openssl`
HOSTCFLAGS_omap3-usb-loader.o = `pkg-config --cflags libusb-1.0`
HOSTLDLIBS_omap3-usb-loader = `pkg-config --libs libusb-1.0`
--
2.39.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-07 7:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-07 7:19 [PATCH] scripts: fix pkg-config use for mksimage hosttool Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox