[PATCH] scripts: fix pkg-config use for mksimage hosttool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux