All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex G." <mr.nuke.me@gmail.com>
To: "Jernej Škrabec" <jernej.skrabec@gmail.com>,
	u-boot@lists.denx.de, pali@kernel.org
Subject: Re: Broken build with disabling OpenSSL crypto
Date: Mon, 11 Oct 2021 11:48:57 -0500	[thread overview]
Message-ID: <e7dd45e3-8f7c-834d-398f-b2f049086279@gmail.com> (raw)
In-Reply-To: <2212002.ElGaqSPkdT@kista>

On 10/10/21 6:06 AM, Jernej Škrabec wrote:
> Dne četrtek, 07. oktober 2021 ob 00:05:24 CEST je Alex G. napisal(a):
>> Can you please give the following diff a try, and if it works for you, submit
> as patch?
> 
> This works, I'll submit it as a patch. Should I keep you as original author
> and add your SoB tag?

You can take authorship.

Alex

> Best regards,
> Jernej
> 
>>
>> Alex
>>
>> diff --git a/tools/Makefile b/tools/Makefile
>> index 4a86321f64..7f72ff9645 100644
>> --- a/tools/Makefile
>> +++ b/tools/Makefile
>> @@ -96,7 +96,8 @@ AES_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := $(addprefix lib/aes/,
> \
>>
>>    # Cryptographic helpers that depend on openssl/libcrypto
>>    LIBCRYPTO_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := $(addprefix lib/, \
>> -					fdt-libcrypto.o)
>> +					fdt-libcrypto.o) \
>> +					kwbimage.o
>>
>>    ROCKCHIP_OBS = lib/rc4.o rkcommon.o rkimage.o rksd.o rkspi.o
>>
>> @@ -117,7 +118,6 @@ dumpimage-mkimage-objs := aisimage.o \
>>    			imximage.o \
>>    			imx8image.o \
>>    			imx8mimage.o \
>> -			kwbimage.o \
>>    			lib/md5.o \
>>    			lpc32xximage.o \
>>    			mxsimage.o \
>> @@ -169,8 +169,8 @@ HOST_EXTRACFLAGS	+= -
> DCONFIG_FIT_SIGNATURE_MAX_SIZE=0xffffffff
>>    HOST_EXTRACFLAGS	+= -DCONFIG_FIT_CIPHER
>>    endif
>>
>> -# MXSImage needs LibSSL
>> -ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$
> (CONFIG_TOOLS_LIBCRYPTO),)
>> +# MXSImage needs LibSSL <- Nope! Read the frogging notice at the top
>> +ifneq ($(CONFIG_TOOLS_LIBCRYPTO),)
>>    HOSTCFLAGS_kwbimage.o += \
>>    	$(shell pkg-config --cflags libssl libcrypto 2> /dev/null || echo
> "")
>>    HOSTLDLIBS_mkimage += \
>>
> 
> 

  reply	other threads:[~2021-10-11 16:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06 21:27 Broken build with disabling OpenSSL crypto Jernej Škrabec
2021-10-06 22:05 ` Alex G.
2021-10-08  9:34   ` Rudi Heitbaum
2021-10-10 11:06   ` Jernej Škrabec
2021-10-11 16:48     ` Alex G. [this message]
2021-10-13  5:26   ` Andre Heider
2021-10-15 11:34   ` Pali Rohár
2021-10-15 14:35     ` Alex G.
2021-10-15 20:30       ` Pali Rohár
2021-10-18 14:04         ` Alex G.
2021-10-07 19:41 ` Tom Rini
2021-10-10 11:04   ` Jernej Škrabec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e7dd45e3-8f7c-834d-398f-b2f049086279@gmail.com \
    --to=mr.nuke.me@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=pali@kernel.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.