Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4090193pxb; Tue, 26 Jan 2021 12:07:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSyrp5lQ4ZSzdE5t2LqJAhWjl+KowocIZ/mG1DBFWt5KNiF/fjIIL6h/g0FNuoIsYl46MM X-Received: by 2002:a17:907:9810:: with SMTP id ji16mr4346006ejc.394.1611691625287; Tue, 26 Jan 2021 12:07:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611691625; cv=none; d=google.com; s=arc-20160816; b=LOYqpLeM4S4Q84r+1Y+8lTwc6SnyhksP9974B7oXMEb3HIHIV82vb17Rwr8xa0x4VH Y7b8u+QTrm8MSYeiOaRk3INRyIU7ZDCz0mbhe3+KzqF/sk1xhYBgctP8vtLxOyQe9lBi RZrGl+6y/XxutIAqM+N5dhR/RTYET5d4uxkZx9RLmXr20fFbyC4JWobtYowj9R7rXTsd 95f9Ytsmr0rWBFfQ12JhJnU03iX7Ebm94PBajyzcQL605jb0wO9MO/dKszlTosYU696s rREjKu3Wyo6i9cixZR3cFtzhWssd2nszOy/xLvfdTmNcyIC644eV0J/x3hV62LtWwL6k 00ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:organization :message-id:date:subject:cc:to:from; bh=aH+dOEL+1qD3nPMm49R/ERtrepnIfIcHvNr4X70J7nI=; b=h1v9gwyGBidD8KG2gtetFYij0mLyusxnqOQx7yxxIT/lHSkTs3vzoranTBGP1rEzkc gWb1sab2tO4wlpSPsHMx5uX2KbZyDhr3VsTnkKWLQ/AZM2TiZ5Es6bFIDf18SvCIa+04 vV5YhdIlo4+HTrUQbLzQGdaFEz8Tov/N6gxSe3MoMV78nTSoynTEylYo8r9lOeYAWXp0 2b7HQ6S/ZIXgIMPk0A7HfHUwXCsPn6m/85rBcadBR/9PfDvYAnFlAU/bdrFLuU+rI90F MecdSFMVWo0vnKDpKO9p/orGcT+0mOGEZd6ZlQJmO/JUe4yf6DV4sN6ZdPpdDggsQlkg Cj9A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g22si7445392ejb.269.2021.01.26.12.06.38; Tue, 26 Jan 2021 12:07:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392789AbhAZRkE (ORCPT + 99 others); Tue, 26 Jan 2021 12:40:04 -0500 Received: from mx1.emlix.com ([136.243.223.33]:44754 "EHLO mx1.emlix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387772AbhAZIC6 (ORCPT ); Tue, 26 Jan 2021 03:02:58 -0500 Received: from mailer.emlix.com (unknown [81.20.119.6]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id C2A625FA1A; Tue, 26 Jan 2021 09:01:24 +0100 (CET) From: Rolf Eike Beer To: Masahiro Yamada Cc: David Woodhouse , Linux Kernel Developers List , David Howells , keyrings@vger.kernel.org, Linux Kbuild mailing list Subject: Re: [PATCH v5] scripts: use pkg-config to locate libcrypto Date: Tue, 26 Jan 2021 09:01:20 +0100 Message-ID: <2384276.IbH9z7ADXJ@devpool47> Organization: emlix GmbH In-Reply-To: References: <20538915.Wj2CyUsUYa@devpool35> <2525730.a3zTd9XyL1@devpool47> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2498514.zdjasX8D7D"; micalg="pgp-sha256"; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart2498514.zdjasX8D7D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Rolf Eike Beer To: Masahiro Yamada Cc: David Woodhouse , Linux Kernel Developers List , David Howells , keyrings@vger.kernel.org, Linux Kbuild mailing list Subject: Re: [PATCH v5] scripts: use pkg-config to locate libcrypto Date: Tue, 26 Jan 2021 09:01:20 +0100 Message-ID: <2384276.IbH9z7ADXJ@devpool47> Organization: emlix GmbH In-Reply-To: References: <20538915.Wj2CyUsUYa@devpool35> <2525730.a3zTd9XyL1@devpool47> Am Dienstag, 26. Januar 2021, 07:30:03 CET schrieb Masahiro Yamada: > On Tue, Jan 26, 2021 at 2:42 PM Rolf Eike Beer wrote: > > Am Mittwoch, 13. Januar 2021, 13:49:12 CET schrieb Rolf Eike Beer: > > > Otherwise build fails if the headers are not in the default location. > > > While > > > at it also ask pkg-config for the libs, with fallback to the existing > > > value. > >=20 > > Can someone please take this through the kbuild-tree? Noone seems to be > > interested in picking this up so far. > Is 'PKG_CONFIG' necessary? >=20 > I see many Makefiles hard-coding 'pkg-config'. Well, it depends ;) When people use pkgconf then this usually installs a pkg-config alias, too,= so=20 that would be no problem. The problem comes when other places in the kernel= =20 start copying that code over, and then hardcode pkg-config for stuff that=20 needs a prefixed pkg-config because it is about target code. Given that I would prefer it this way, but YMMV. If it is that variable tha= t=20 blocks integrating I'll change it. Eike =2D-=20 Rolf Eike Beer, emlix GmbH, http://www.emlix.com =46on +49 551 30664-0, Fax +49 551 30664-11 Gothaer Platz 3, 37083 G=C3=B6ttingen, Germany Sitz der Gesellschaft: G=C3=B6ttingen, Amtsgericht G=C3=B6ttingen HR B 3160 Gesch=C3=A4ftsf=C3=BChrung: Heike Jordan, Dr. Uwe Kracke =E2=80=93 Ust-IdNr= =2E: DE 205 198 055 emlix - smart embedded open source --nextPart2498514.zdjasX8D7D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iLMEAAEIAB0WIQQ/Uctzh31xzAxFCLur5FH7Xu2t/AUCYA/MUAAKCRCr5FH7Xu2t /FmIA/9K2X8zIwXcNreRp/m+3PJshIU94mgSOR0DnMIWRIrvBn7YovCLiS4UOZT8 +ZSggOhHkeNd6SJE6CBOUzKcUXp3sOLwMHoEWWZbAnt0EOEdYidvQ6IVIpcAGSLU QxMB9eFsfvnQMHvbpJDScFQCb5yH/OIx5ocjCDA1LJPnGn0J/g== =La0P -----END PGP SIGNATURE----- --nextPart2498514.zdjasX8D7D--