wlan-ap-Telecominfraproject/patches/wlan-ap/0008-include-prereq-build.mk-add-ovsdb-tool-dependency.patch
John Crispin ae51caf8a5 wlan-ap: initial import
based on the develop branch -> 6af07cd39cfa06ec8eb4d6182c7d7923236c2dbf

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-01 15:35:04 +02:00

35 lines
1.2 KiB
Diff

From 678ee2539ee25894b7f44cb971e121ab07e5e9d9 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Thu, 25 Jun 2020 09:03:16 +0200
Subject: [PATCH] include/prereq-build.mk: add ovsdb-tool dependency
OpenSync requires a host installation of ovsdb-tool. Add this to the
required commands.
If the tool is missing, users will be presented witht he following line.
-> Build dependency: Please install the 'ovsdb-tool' package
Signed-off-by: John Crispin <john@phrozen.org>
---
include/prereq-build.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 501739968c..ea22510bfd 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -140,6 +140,9 @@ $(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.7.12.2, \
$(eval $(call SetupHostCommand,file,Please install the 'file' package, \
file --version 2>&1 | grep file))
+$(eval $(call SetupHostCommand,ovsdb-tool,Please install the 'ovsdb-tool' package, \
+ ovsdb-tool -V 2>&1 | grep vSwitch))
+
$(STAGING_DIR_HOST)/bin/mkhash: $(SCRIPT_DIR)/mkhash.c
mkdir -p $(dir $@)
$(CC) -O2 -I$(TOPDIR)/tools/include -o $@ $<
--
2.25.1