From: Alexandru Ardelean Date: Thu, 29 Jun 2017 10:50:40 +0000 (+0300) Subject: openvswitch: make dependencies conditional for openvswitch-python subpackage X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=919b9bc41a4e27283daca53a48aeb90924373c64;p=openwrt-packages.git 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 --- 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