[Refactoer add ccsp hal to meta-filogic]
[Description]
Refactoer add ccsp hal to meta-filogic
[Release-log]
diff --git a/recipes-ccsp/hal/hal-cm-generic_git.bbappend b/recipes-ccsp/hal/hal-cm-generic_git.bbappend
new file mode 100644
index 0000000..feb233c
--- /dev/null
+++ b/recipes-ccsp/hal/hal-cm-generic_git.bbappend
@@ -0,0 +1,5 @@
+do_configure_prepend(){
+ if ! cat ${S}/cm_hal.c | grep -w "INT cm_hal_snmpv3_kickstart_initialize(snmpv3_kickstart_table_t \*pKickstart_Table)" ; then
+ echo "INT cm_hal_snmpv3_kickstart_initialize(snmpv3_kickstart_table_t *pKickstart_Table) { return RETURN_OK; }" >> ${S}/cm_hal.c
+ fi
+}