[Add basic opensync build support]

[Description]
Add basic opensync build support
1.Add basic opensync v2.0.5 build back
2.Add opensync v3.2.x build support(v3.2.7 test ok)
3.Default disable opensync build

[Release-log]
N/A

diff --git a/recipes-networking/openvswitch/openvswitch_git.bbappend b/recipes-networking/openvswitch/openvswitch_git.bbappend
new file mode 100644
index 0000000..ccc2920
--- /dev/null
+++ b/recipes-networking/openvswitch/openvswitch_git.bbappend
@@ -0,0 +1,14 @@
+DEPENDS_remove_dunfell = "virtual/kernel bridge-utils"
+DEPENDS_append_class-target_dunfell = " virtual/kernel kernel-devsrc"
+DEPENDS_append_class-target_dunfell = " bridge-utils"
+EXTRA_OECONF += "--enable-ssl"
+
+EXTRA_OECONF_class-target_dunfell += "--with-linux=${STAGING_KERNEL_BUILDDIR} --with-linux-source=${STAGING_KERNEL_DIR} KARCH=${UBOOT_ARCH} PYTHON=python3 PYTHON3=python3 PERL=${bindir}/perl "
+
+#disable openvswitch autostart
+SYSTEMD_SERVICE_${PN}-switch = ""
+do_compile_prepend() {
+        export CROSS_COMPILE=`echo '${TARGET_PREFIX}'`
+}
+
+PACKAGECONFIG[ssl] = " "