Browse Source

openvswitch: Change dependency from append to definition

ovs_libovsdb_depends and ovs_libofproto_depends append the libatomic
dependency. However in these cases these variables were not previously
defined and thus a reader may search the Makefile for the definition.
Therefore change the operator to explicitly define these dependency
variables, rather than append. In addition add a space after operator to
improve readability and conform to other dependency definitions in the
Makefile.

Signed-off-by: Matthew Hagan <mathagan@fb.com>
lilik-openwrt-22.03
Matthew Hagan 3 years ago
committed by Yousong Zhou
parent
commit
136003c44d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      net/openvswitch/Makefile

+ 2
- 2
net/openvswitch/Makefile View File

@ -163,14 +163,14 @@ $(eval $(call OvsPackageTemplate,libopenvswitch))
ovs_libofproto_title:=Open vSwitch (libofproto.so libsflow.so) ovs_libofproto_title:=Open vSwitch (libofproto.so libsflow.so)
ovs_libofproto_hidden:=1 ovs_libofproto_hidden:=1
ovs_libofproto_depends+=+libatomic
ovs_libofproto_depends:= +libatomic
ovs_libofproto_files:=usr/lib/libofproto*.so* usr/lib/libsflow*.so* ovs_libofproto_files:=usr/lib/libofproto*.so* usr/lib/libsflow*.so*
$(eval $(call OvsPackageTemplate,libofproto)) $(eval $(call OvsPackageTemplate,libofproto))
ovs_libovsdb_title:=Open vSwitch (libovsdb.so) ovs_libovsdb_title:=Open vSwitch (libovsdb.so)
ovs_libovsdb_hidden:=1 ovs_libovsdb_hidden:=1
ovs_libovsdb_depends+=+libatomic
ovs_libovsdb_depends:= +libatomic
ovs_libovsdb_files:=usr/lib/libovsdb*.so* ovs_libovsdb_files:=usr/lib/libovsdb*.so*
$(eval $(call OvsPackageTemplate,libovsdb)) $(eval $(call OvsPackageTemplate,libovsdb))


Loading…
Cancel
Save