Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6089748pxb; Tue, 16 Feb 2021 16:09:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7kTwh6tERlxaYyLBYMGrsHwwXhNw8xN/VQ3noBMD21pUQJrpPzaEwyuTaf9O56IT4PbS7 X-Received: by 2002:a17:907:a059:: with SMTP id gz25mr23275862ejc.400.1613520574838; Tue, 16 Feb 2021 16:09:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613520574; cv=none; d=google.com; s=arc-20160816; b=t4wr1c8UP9XFxDtL1tOx2BkE45e8vdmawYqZQZygxja8JbPMLpuw8JllAn+6n3p5Pg hYAYpwTnmRqXk4W8cq9kMR18LjHVFR4xvpQmt1JP1ATC9w6k+6Z211UHd00g45789Ob4 RNiGeTxZ7HvuidDVUwZRrYMq7Kp4jVTzF2BpMf53Y6x3Ik5A79Po4b6tPDYAwrMt81oX 4wtizScEbDRufaavivvvssD+WuTqeRpgJYJqbpjFzHWbzIxlyZ+/8Nkb03I5c4RA2Bzt 21wZJnSANtdRg6l0EzbsSt1WlD0Xp8xcvIaGcRpW0Hl6B7TF6Jgim/kIy1uSvahnEfJM iUVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=7YZZZa0Z9sq8S0dHPnPa5oROFnkvvg200VC3qLVC1ME=; b=miC7r9W0UoIVqewLmQEkd8++CD+qVGwvaMwvg0qnMtlfpZQG2ihcT1LdGfPJyO8N0A Plgk4PnUP/vlKlfdEsUc+y8JI1wpBc81+VMGa/j8CACzXROElNLVkxW9mBHsUq/kndjI W1Bq5WZGZKk762lCGTb32aJ/M3wZStMg8reb/tncqwTHf1nkUkX6uEJBiDK9bSIqKAtt fhp3fb8WU5lbSrrXeVCEIPCQnuEHS05uk/l8WliZqV4hsTYlGsHSLosjTdWVKLIAbot6 iiIHdl+BkHd4UIfg9orMt2VIbyXApde8soHn+VYb7sUCYRvge8E8POcSQ7sPDrVRVZK+ h70g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RnSmnHbs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si354828ejo.460.2021.02.16.16.09.10; Tue, 16 Feb 2021 16:09:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RnSmnHbs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230490AbhBPXyY (ORCPT + 99 others); Tue, 16 Feb 2021 18:54:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbhBPXyX (ORCPT ); Tue, 16 Feb 2021 18:54:23 -0500 Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6BABC06174A for ; Tue, 16 Feb 2021 15:53:42 -0800 (PST) Received: by mail-oi1-x22e.google.com with SMTP id f3so13047771oiw.13 for ; Tue, 16 Feb 2021 15:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7YZZZa0Z9sq8S0dHPnPa5oROFnkvvg200VC3qLVC1ME=; b=RnSmnHbst8FK/8ck/1v044L3LQP7/uSxvm23Lzbc2rn4IGOkaXLgNd87nRHGzjPger zlB8oYx9DP/gGdxrNeHurZy9bsGOofhri2hmjd0HjmRBd2VYc/IbWucJXVkZ4zzWIJ9d jIAymqZAgxSXBAPLR3DfKgguFeup49ObfZrx8SiikL9Uj9nAAWEb134DBhTgCmNnKVCk FJ+TLJrr1V6Wnq7c9nk7yO33Phel0tira/u/aAozMLqbKuF2Lvw45gf9QUZGL99zAjXj SBs/Z//UG9o6qnaxZC5F56btUqnBbjjL8Miipmt0Az2S9Ruwft8qF3L0H1MijJ4zeHYB B5YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7YZZZa0Z9sq8S0dHPnPa5oROFnkvvg200VC3qLVC1ME=; b=AnoyR0muc66hWlsCgLbOyjj59Dmbty48ZSvIhucM8i6/uVmm0ZGQ9sgM3HzgRQs5gh NZw5wNyuNqXFEmNkNlsbvLxCAHsxD0WSPBQ42zpNgTSq4wEAxOnI42l4VRb6CLYE9vDO +hTLoxGt1mCWvm4XO3dQSPfeSEBosJ1rczyJNlnQzfyPqwR1bMF9PZkHtWwG/DN9zjyZ jntOtVRqNBywE7m0bE1rj7wPbiqIz/pD/XHvE+lsY8BIRFRXJ93Dz7pVYoAeszpeu4y9 uZrdZtVeU9cvI/VlcyGmYCA5A3l2snAjeBHRUKfb11954LmJBakWwz+J4KknPWH/KtFV v9Xw== X-Gm-Message-State: AOAM531DMI/Aar9HBD2VVSGxvzuMiL8AVK6JXY0xu86YLWxiq7x2pgqP JsUDW944YKyR0D0wQp+ka3OP58BW2qwZzu1ezGS8zg== X-Received: by 2002:aca:1a17:: with SMTP id a23mr4047592oia.172.1613519622217; Tue, 16 Feb 2021 15:53:42 -0800 (PST) MIME-Version: 1.0 References: <20210209050047.1958473-1-daniel.diaz@linaro.org> <6065587.C4oOSP4HzL@mobilepool36.emlix.com> <3314666.Em9qtOGRgX@mobilepool36.emlix.com> <5043253.pljLzkpU8D@mobilepool36.emlix.com> In-Reply-To: <5043253.pljLzkpU8D@mobilepool36.emlix.com> From: =?UTF-8?B?RGFuaWVsIETDrWF6?= Date: Tue, 16 Feb 2021 17:53:31 -0600 Message-ID: Subject: Re: [PATCH] scripts: Fix linking extract-cert against libcrypto To: Rolf Eike Beer Cc: Masahiro Yamada , Michal Marek , Linux Kbuild mailing list , open list , linux- stable , Naresh Kamboju Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On Fri, 12 Feb 2021 at 01:44, Rolf Eike Beer wrote: > > Am Donnerstag, 11. Februar 2021, 11:29:33 CET schrieb Rolf Eike Beer: > > > I'm just guessing, but your build error looks like you are also > > cross-building the tools, which is wrong. You want them to be host-tool= s. > > So don't export PKG_CONFIG_SYSROOT_DIR, it would then try to link targe= t > > libraries into a host binary. > > I have looked again how I do it: > > # this is for additional _host_ .pc files > export PKG_CONFIG_PATH=3D${prefix}/lib/pkgconfig > > Then have a target-pkg-config, so this code inside several kernel Makefil= es > will work: > > PKG_CONFIG ?=3D $(CROSS_COMPILE)pkg-config > > And then export your PKG_CONFIG_SYSROOT_DIR and the like inside that. I b= et > you have all of this already in place, so just remove the SYSROOT_DIR fro= m > your kernel build script and things should work. Thank you for your comments! I will try this in our environment in the upcoming days. Greetings! Daniel D=C3=ADaz daniel.diaz@linaro.org