From 919b9bc41a4e27283daca53a48aeb90924373c64 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Thu, 29 Jun 2017 13:50:40 +0300 Subject: [PATCH] openvswitch: make dependencies conditional for openvswitch-python subpackage Apparently, even if you don't select the `openvswitch-python` package, Python still gets built (for the target build). But, if the python dependencies are conditional on the `PACKAGE_openvswitch-python` symbol then they aren't build. This should improve build times, if you only want to build the `openvswitch` package. Signed-off-by: Alexandru Ardelean --- net/openvswitch/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index 834fd1566..39897036d 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -67,7 +67,7 @@ endef define Package/openvswitch-python $(call Package/openvswitch/Default) TITLE:=Open vSwitch Python Support - DEPENDS:=+openvswitch +python +python-six + DEPENDS:=+openvswitch +PACKAGE_openvswitch-python:python +PACKAGE_openvswitch-python:python-six endef define Package/openvswitch-python/description