From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73CEAC433F5 for ; Mon, 11 Oct 2021 16:49:13 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB5996008E for ; Mon, 11 Oct 2021 16:49:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DB5996008E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 024A1832BE; Mon, 11 Oct 2021 18:49:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ROe5sSwz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A79A283273; Mon, 11 Oct 2021 18:49:08 +0200 (CEST) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BD1E983704 for ; Mon, 11 Oct 2021 18:49:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mr.nuke.me@gmail.com Received: by mail-ot1-x32c.google.com with SMTP id s18-20020a0568301e1200b0054e77a16651so5707312otr.7 for ; Mon, 11 Oct 2021 09:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=IW2qzCFxJyQwASxjFWrUsmPyHInxnaULvkTuMZjS04g=; b=ROe5sSwzl5faZSh4zyQckBX62XfeVAjry9TfTCH5yVhBBo7ToNbSZszfgYZdjfgUzw A/m8w0eu4OQ6SKAuTIlFk4zbF3ejjReJE9eDBdyPo3qWtEEZJlnl5Bk5XEXjw0Prx/l/ 1n+7zWAvnCUQrdwvAISDCCZGgMBfnUARpVT07d0PRMAUr6uhUC4zMryiargGVo5Ly74a XTsQTrQDYNf+HUbFc8bqQBicPPGY4nGaz9ux90kkXIG3+fchx/rA8vzTpXTBDZjLsv99 D1oMxNrwLoNMTHt1+pBfjFJPbnKdMWg3oIz3WGXTzA0djfaJBNwto+S+qCozOhjTnWp7 Nzhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IW2qzCFxJyQwASxjFWrUsmPyHInxnaULvkTuMZjS04g=; b=gFeaRb89X2DR85OugtzPYkR0jeElnv4ws04ToAbX0VrrREVST3vMumRlkA9X7how1O 3Ak2EFDEV4zscjOzhizE+Ktl6dMQdnaO+FE5+zBow7e29Wn80+LZ0QVsbjcX4rIz3OES 0/vxGDEdaUdNqPen537p+OJeRCbcKEJT/PpOGK8Nj5AUB3+ELcZgXwZFdMSeOqMflo0F b8w5nr5mL4FhXVv+PolLNeYEO4AK45R+TP/svc1e2xusdPApt6BfBhetEhZFLRGPlG8e 9bxIsGxOR4P7oMo80YMOHORtdd7MEob74KxWWnvk+c8WFllqmhIKF2W/qXcdmsQGR8yD aVPg== X-Gm-Message-State: AOAM533flf2ZBG10nZ2XfQgOET47R4MKySjmQtqHAXoIZsP0PVewhf2w D3oKg9B5SejcVzCQ2bQQ8h4= X-Google-Smtp-Source: ABdhPJyavqGYDtKR8B/AKFCxGo4VHKe+qsZHz0aQ/MV8vgZ0O02t0PwLMiTmeAzHtgL70MLFsEMheg== X-Received: by 2002:a9d:19c1:: with SMTP id k59mr21323116otk.348.1633970939225; Mon, 11 Oct 2021 09:48:59 -0700 (PDT) Received: from nuclearis3.gtech (c-98-195-139-126.hsd1.tx.comcast.net. [98.195.139.126]) by smtp.gmail.com with ESMTPSA id f14sm1619753oop.8.2021.10.11.09.48.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Oct 2021 09:48:58 -0700 (PDT) Subject: Re: Broken build with disabling OpenSSL crypto To: =?UTF-8?Q?Jernej_=c5=a0krabec?= , u-boot@lists.denx.de, pali@kernel.org References: <18564205.Z0HQFNUZ9R@kista> <544c0c86-ca3f-036e-2523-3f973105410a@gmail.com> <2212002.ElGaqSPkdT@kista> From: "Alex G." Message-ID: Date: Mon, 11 Oct 2021 11:48:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <2212002.ElGaqSPkdT@kista> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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 += \ >> > >