[Add meta-cmf-filogic sdk cmf for rdkb development]
[Description]
Add meta-cmf-filogic sdk cmf for rdkb development
1. rdkb base on dunfell rdkb-next (> 2022q1)
2. cmf is mostly from meta-turris implementation
3. some 64bit support are port from rp4-64 cmf
4. arm64/arm 32bit bsp both can run on rdkb
[Release-log]
N/A
diff --git a/recipes-ccsp/ccsp/jst.bbappend b/recipes-ccsp/ccsp/jst.bbappend
new file mode 100644
index 0000000..545cf5d
--- /dev/null
+++ b/recipes-ccsp/ccsp/jst.bbappend
@@ -0,0 +1,9 @@
+LDFLAGS_aarch64 += " -Wl,--no-as-needed"
+
+do_configure_prepend_aarch64 () {
+ sed -i "s/format_s\[loop2-1\]=0\;/\/\/format_s\[loop2-1\]=0\;/g" ${S}/source/jst_cosa.c
+}
+
+do_install_append_aarch64 () {
+ sed -i '/return \$arr.pop()/i \$arr.pop();' ${D}/usr/www2/includes/php.jst
+}