Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2502250rwp; Fri, 14 Jul 2023 07:09:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlGhf0J9qvrk7yLbelaPke50NTEMHmtEGfPF9fPBcYbRNzMy5co4LH/aQ60v3idsKgjmJvAO X-Received: by 2002:a17:90a:bf10:b0:263:f643:4bd3 with SMTP id c16-20020a17090abf1000b00263f6434bd3mr3849554pjs.27.1689343778569; Fri, 14 Jul 2023 07:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689343778; cv=none; d=google.com; s=arc-20160816; b=EqZvwsWFVLQwjxzoexmOi+jUNOWoZzACzfReosGVU1p8AIH742kJpy9NSkWQ2iRcIw wNDeL/gqO3GtAP1FeA+oLJzSDR1IVk7S0go1oO1IvGCmbF7mWsLeRn26FvG839J32t/3 kBorddQgSklDYKCfay3uFPKC5zXlmwZtgfdx7L7D462dGMqb+LeFci0UP6vLEPNEgQ7q pNqQxeWuBtRSZGadGSC66eylFXn8kCXHt+01ZtXRNeLSB2sMaMem5GWv7afikgbr81DJ E5GrvYi6Hnl+V7/Ypg33pc4XkHSSFWdjKRdIbySdbKv7r6t/xLPbUdPwWXTw67FfYgs3 6Jmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=pgO0atQhiTO3A22SYUcDUWCGrEynVpqFbozuf6Ws2Hc=; fh=SQ4UHaTqW/lqR9OJcdZkwBVRtjrY5AxJde/r1amJF3E=; b=Rkq2LVehl32yQFejgdYOBJRW02s6VE321vq8nGDAA3PHTLl2lmv2mAZ685MJ9x9kKS Hn7YLJeUl03sU7vsh7W8aZvJva5JsFOxWh5l/uMEr2PhnlhiJgEjtmTpWxGrabWh3ST8 L7jVIfeuAWtsciH6p4WAuAAh3L5x9IF7KAx96J/zpQfsqZrWn5eNgk4ADe4T7IirwoY1 TRoRjZEs8kv9tqyzZC8UZ/XGhbWOqcZ7Qjc7WNzclbuf4eIMCTOorjru2p35Tue1Pv67 IRs4qvAl+YaPJH8W/w33OMDEePVqI5beQLfbtM25ydnD9FK7E+k2ROu2yRgpjSsq/gYZ vMlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q36-20020a635c24000000b0055ac8f8526dsi7010259pgb.530.2023.07.14.07.09.26; Fri, 14 Jul 2023 07:09:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235984AbjGNNwj (ORCPT + 99 others); Fri, 14 Jul 2023 09:52:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235918AbjGNNwW (ORCPT ); Fri, 14 Jul 2023 09:52:22 -0400 Received: from a3.inai.de (a3.inai.de [IPv6:2a01:4f8:10b:45d8::f5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 563C53C32; Fri, 14 Jul 2023 06:52:07 -0700 (PDT) Received: by a3.inai.de (Postfix, from userid 25121) id CE86B58750830; Fri, 14 Jul 2023 15:52:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by a3.inai.de (Postfix) with ESMTP id CC4E960C22668; Fri, 14 Jul 2023 15:52:05 +0200 (CEST) Date: Fri, 14 Jul 2023 15:52:05 +0200 (CEST) From: Jan Engelhardt To: Michal Suchanek cc: linux-modules@vger.kernel.org, Takashi Iwai , Lucas De Marchi , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Jiri Slaby , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH kmod v2 3/4] kmod: Add config command to show compile time configuration as JSON In-Reply-To: <20230712140103.5468-3-msuchanek@suse.de> Message-ID: <429o975-ro63-o94r-qs96-76ro6o28on5@vanv.qr> References: <20230711153126.28876-1-msuchanek@suse.de> <20230712140103.5468-3-msuchanek@suse.de> User-Agent: Alpine 2.25 (LSU 592 2021-09-18) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 2023-07-12 16:00, Michal Suchanek wrote: >Show prefix (where configuration files are searched/to be installed), >module compressions, and module signatures supported. What about doing it like systemd and generate a .pc file instead that can then be queried like so, e.g.: $ pkg-config kmod --variable=modulesdir /usr/lib/modules