[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-common/rdk-logger/rdk-logger_git.bbappend b/recipes-common/rdk-logger/rdk-logger_git.bbappend
new file mode 100644
index 0000000..59b1edb
--- /dev/null
+++ b/recipes-common/rdk-logger/rdk-logger_git.bbappend
@@ -0,0 +1,17 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'extender', 'file://0001-Add-sys-time-and-select-include.patch;apply=no', '', d)}"
+
+# we need to patch to code for rdk-logger
+do_rdk_logger_patches() {
+ cd ${S}
+ if [ -f ${WORKDIR}/0001-Add-sys-time-and-select-include.patch ]; then
+ if [ ! -e patch_applied_rdklogger ]; then
+ bbnote "Patching 0001-Add-sys-time-and-select-include.patch"
+ patch -p1 < ${WORKDIR}/0001-Add-sys-time-and-select-include.patch
+
+ touch patch_applied_rdklogger
+ fi
+ fi
+}
+addtask do_rdk_logger_patches after do_unpack before do_configure