Browse Source

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 <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 8 years ago
parent
commit
919b9bc41a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/openvswitch/Makefile

+ 1
- 1
net/openvswitch/Makefile View File

@ -67,7 +67,7 @@ endef
define Package/openvswitch-python define Package/openvswitch-python
$(call Package/openvswitch/Default) $(call Package/openvswitch/Default)
TITLE:=Open vSwitch Python Support TITLE:=Open vSwitch Python Support
DEPENDS:=+openvswitch +python +python-six
DEPENDS:=+openvswitch +PACKAGE_openvswitch-python:python +PACKAGE_openvswitch-python:python-six
endef endef
define Package/openvswitch-python/description define Package/openvswitch-python/description


Loading…
Cancel
Save