From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 85BD2A04F9 for ; Thu, 9 Jan 2020 14:34:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C0731C025; Thu, 9 Jan 2020 14:34:59 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 207ED1DD8F for ; Thu, 9 Jan 2020 14:34:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578576897; 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: in-reply-to:in-reply-to:references:references; bh=3QRQsPFepJnSS8jHG3i9sUdudW5t78/MGaZeaz2Z1pU=; b=WuXcx9B7TmfzRLyCb11iyEYKFtd0C775PdU5IpUk7jAkgc8Z9P59DAdLfLJ3ytVVKgNGiM qn3sn6pA8Nlg3lFyx6ifnrEWj09UWEsvndytfyLeaCre0t6jYamYSw1hcVym0am5YGuWQI GYgmrPlYOO9AKX5m9xPemoBQqVIzNRg= 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-409-c2SytzXwOdqPqV3NGCD2Qw-1; Thu, 09 Jan 2020 08:34:56 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2A415107ACC4; Thu, 9 Jan 2020 13:34:54 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1EB7C62926; Thu, 9 Jan 2020 13:34:51 +0000 (UTC) From: Kevin Traynor To: stable@dpdk.org Cc: ktraynor@redhat.com, Neil Horman Date: Thu, 9 Jan 2020 13:34:32 +0000 Message-Id: <20200109133433.12494-7-ktraynor@redhat.com> In-Reply-To: <20200109133433.12494-1-ktraynor@redhat.com> References: <20200109133433.12494-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: c2SytzXwOdqPqV3NGCD2Qw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] [18.11 6/7] pmdinfogen: fix freebsd build X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" rte_compat.h is needed as part of the fixed commit but it could not be found with meson on FreeBSD causing a build failure. Add it's include directory. This is not an issue on DPDK master branch since rte_compat.h was moved under lib/eal. Fixes: 3e41c8bc7584 ("eal: add ack interrupt API") Signed-off-by: Kevin Traynor Cc: Neil Horman --- buildtools/pmdinfogen/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildtools/pmdinfogen/meson.build b/buildtools/pmdinfogen/meso= n.build index a219a8e96..ab2b20032 100644 --- a/buildtools/pmdinfogen/meson.build +++ b/buildtools/pmdinfogen/meson.build @@ -4,4 +4,9 @@ pmdinfogen_inc =3D eal_inc pmdinfogen_inc +=3D include_directories('../../lib/librte_pci') + +if host_machine.system() =3D=3D 'freebsd' +=09pmdinfogen_inc +=3D include_directories('../../lib/librte_compat') +endif + pmdinfogen =3D executable('pmdinfogen', =09'pmdinfogen.c', --=20 2.21.1