From patchwork Thu Oct 22 07:50:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 81738 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D084A04DD; Thu, 22 Oct 2020 09:51:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F0FE49AFC; Thu, 22 Oct 2020 09:51:13 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 822739AFC for ; Thu, 22 Oct 2020 09:51:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603353070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rS7fLenJ4e/agIAnTYl5tMVI3TjrETjGYL+mgWgf2iw=; b=DrVCE3OPyqnWWzHxYngq9pB2JaZA4IH483X3cg6zu3a0mkpqkkLEx10JRZnSN5Gb0IdOUI wtu99fWfxIi0S+gSP2IZgK++1Z/K6vE5OUNMqoqMrbZSmLBqtKVbZANGoicd7OzFW7XLBv Us9kMFCryrY+FCC5+hxp6f2FnfhYrQE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-46-0WNMK4WnNmy3jRAHPG6kPw-1; Thu, 22 Oct 2020 03:51:07 -0400 X-MC-Unique: 0WNMK4WnNmy3jRAHPG6kPw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4E4E1108E1B9; Thu, 22 Oct 2020 07:51:06 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id BF9755C1C7; Thu, 22 Oct 2020 07:51:04 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: bruce.richardson@intel.com, Konstantin Ananyev Date: Thu, 22 Oct 2020 09:50:38 +0200 Message-Id: <20201022075038.16998-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [PATCH] bpf: use helper to install headers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Libraries can use the headers variable to install headers. Signed-off-by: David Marchand Acked-by: Bruce Richardson --- lib/librte_bpf/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build index 6070898cb6..48460e9505 100644 --- a/lib/librte_bpf/meson.build +++ b/lib/librte_bpf/meson.build @@ -13,9 +13,9 @@ elif dpdk_conf.has('RTE_ARCH_ARM64') sources += files('bpf_jit_arm64.c') endif -install_headers('bpf_def.h', - 'rte_bpf.h', - 'rte_bpf_ethdev.h') +headers = files('bpf_def.h', + 'rte_bpf.h', + 'rte_bpf_ethdev.h') deps += ['mbuf', 'net', 'ethdev']