openvswitch: add CONFIG_PACKAGE_openvswitch-python to PKG_BUILD_DEPENDS
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Sun, 18 Jun 2017 17:41:24 +0000 (20:41 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 29 Jun 2017 10:48:42 +0000 (13:48 +0300)
That way, OVS gets rebuilt if the openvswitch-python
package is selected or unselected.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
net/openvswitch/Makefile

index eabe2bc4ab43b0decffed277895416763d754b45..834fd15665b4fe67110da494ab892ca9d14cc827 100644 (file)
@@ -23,7 +23,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://openvswitch.org/releases/
 PKG_HASH:=e492cf08a929b4a2178b7f9b01dc4ff562f44138b547b4e942078187b2445d2e
 
-PKG_BUILD_DEPENDS:=python-six/host
+PKG_BUILD_DEPENDS:=python/host python-six/host CONFIG_PACKAGE_openvswitch-python
 
 PKG_BUILD_PARALLEL:=1
 PKG_FIXUP:=autoreconf