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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83968C43381 for ; Tue, 26 Mar 2019 20:17:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 54E6D2075C for ; Tue, 26 Mar 2019 20:17:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732623AbfCZURP convert rfc822-to-8bit (ORCPT ); Tue, 26 Mar 2019 16:17:15 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40726 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731617AbfCZURP (ORCPT ); Tue, 26 Mar 2019 16:17:15 -0400 Received: by mail-wr1-f65.google.com with SMTP id h4so273007wre.7 for ; Tue, 26 Mar 2019 13:17:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=VxAgwwEhHwMYcI1pt2dPE7RjCHqxIK55B+lWtKbRoS8=; b=Axrrh+EidTbE6UWp6OsxhD359gJTlIfuPBp10aPyOp83VuAx+R49rLrW8TjxerODMO d+dHd00ovySCniB/FmgiDaGaEfG8dPXRNcwq6SYulYbwKP48xTrjJukR3RRmBLBN2frG LMqHRJlq4Y9mgxQlDpX/Bz7LFYw1AIH0PqUoJM+2cdpSq4fzNIiXzyvNsliPfG4UIwyu q8MCDd4IsNbwodZZTJj9lc6urvZUdzzD+yjAWgyOrXMtHXCBUOlL5LhXnnn+Sy5bFIyY 0dxB/91VYtgwjHYRuvXmubPlC7WhszUDC8ZbgoyMSII5HmXD2A2RZiH4Wc9bHCZodmxY 7eyw== X-Gm-Message-State: APjAAAVMjuIv+Eb9i/bZLYbxSO4fPSSGASF+YjWg/ZXATb4U1Vg8zHNl hOP56vlXI8betiydAk/zD2s= X-Google-Smtp-Source: APXvYqxcuB+b0hrMhu7QP6ZLfUZCXm2FB9TZZy/+NTbiBCIB0w1th61iPfNfjco+CtQrWX6yxjV0DA== X-Received: by 2002:a5d:69c7:: with SMTP id s7mr20059489wrw.71.1553631434109; Tue, 26 Mar 2019 13:17:14 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:b00c:66c8:99df:336]) by smtp.gmail.com with ESMTPSA id 13sm7920626wmf.23.2019.03.26.13.17.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 13:17:12 -0700 (PDT) Message-ID: <230be19140b5f83ee910f922c46f8d2a50636c32.camel@debian.org> Subject: Re: [PATCH bpf-next v7] tools/bpf: generate pkg-config file for libbpf From: Luca Boccassi To: Alexei Starovoitov Cc: Network Development , Daniel Borkmann Date: Tue, 26 Mar 2019 20:17:12 +0000 In-Reply-To: References: <20190319210639.6282-1-bluca@debian.org> <20190321230944.4723-1-luca.boccassi@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 2019-03-26 at 13:12 -0700, Alexei Starovoitov wrote: > On Thu, Mar 21, 2019 at 4:09 PM < > luca.boccassi@gmail.com > > wrote: > > From: Luca Boccassi < > > bluca@debian.org > > > > > > > Generate a libbpf.pc file at build time so that users can rely > > on pkg-config to find the library, its CFLAGS and LDFLAGS. > > > > Signed-off-by: Luca Boccassi < > > bluca@debian.org > > > > > Acked-by: Andrey Ignatov < > > rdna@fb.com > > > > > --- > > v2: use QUIET_GEN instead of QUIET_LINK to generate pc file, > > save kernel version in its own variable instead of calling > > make inline > > v3: use LIBBPF_VERSION instead of kernel_version > > v4: use -I${prefix}/include rather than -I${prefix}/include/bpf > > in the Cflags field as requested, to keep consistency with > > how the headers are used now and to avoid a dependency from > > the pc file to the headers installation > > v5: add acked-by, add SPDX line to pc file > > v6: remove URL field, generalize Description field > > v7: fix build with make OUTPUT=/foo/bar/ by prefixing $(OUTPUT) > > to the pc file variable > > Applied. Thanks Thank you! I'll send a patch to the Github mirror as soon as possible. -- Kind regards, Luca Boccassi