From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7D656A00C5; Mon, 14 Feb 2022 12:25:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B9104068C; Mon, 14 Feb 2022 12:25:44 +0100 (CET) Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by mails.dpdk.org (Postfix) with ESMTP id CC97A4067E for ; Mon, 14 Feb 2022 12:25:42 +0100 (CET) Received: from emil.fit.vutbr.cz (unknown [IPv6:2001:67c:1220:80c:eb:e00e:9e81:ff5f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id 8DA8F40006E; Mon, 14 Feb 2022 12:25:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2-2020; t=1644837942; bh=duWip28mpuV9P34JpAJzsPIhglhvJSM9xLM+PpDokbE=; h=From:To:Cc:Subject:Date; b=EMDYFH5Z7WDbyITwyG8+34a7N+e4e9FYtPfYfEZuUwdHL2CRQKdHwoW8LNh5K/cOY 8itzSnnKLiJIFPTl+7LtvJ+uERjOeAFw0/Aqx8Y75Uc28vNLrwZPlB3KmaCGVfaPLD TIKR+ezxK9iRpXXTMGtd160BL3BTrGhnl8eQ2kNX60gl/VxdFM1FNqYeZBjYPGUUqr i9UIBdu2wsX+mpybPWsx4OsW759A6rJvdAPQl1JEVnQiU8O/mzAg6OChLG9C/VqHrr TS8b5TbLhnG8TQLwyIA2VG2ZA+ZuQdExsnjyM/JIhMbqQbHTXYU63LYa/0WmWinRbZ KFgLBGJPEVong== From: spinler@cesnet.cz To: dev@dpdk.org Cc: Martin Spinler Subject: [PATCH 1/6] net/nfb: add missing libfdt dependency for build Date: Mon, 14 Feb 2022 12:25:36 +0100 Message-Id: <20220214112541.29782-1-spinler@cesnet.cz> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Martin Spinler The driver uses some FDT manipulation functions from libfdt. Let the build system check for libfdt package. Signed-off-by: Martin Spinler --- drivers/net/nfb/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/nfb/meson.build b/drivers/net/nfb/meson.build index bb5f66a09a..c080c06bf9 100644 --- a/drivers/net/nfb/meson.build +++ b/drivers/net/nfb/meson.build @@ -9,6 +9,12 @@ if is_windows subdir_done() endif +if has_libfdt == 0 + build = false + reason = 'missing dependency, "libfdt"' + subdir_done() +endif + dep = dependency('netcope-common', required: false, method: 'pkg-config') reason = 'missing dependency, "libnfb"' build = dep.found() -- 2.35.1