blob: 59b1edbc77b3dc74e380b78bc960ffbd20679896 [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2
3SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'extender', 'file://0001-Add-sys-time-and-select-include.patch;apply=no', '', d)}"
4
5# we need to patch to code for rdk-logger
6do_rdk_logger_patches() {
7 cd ${S}
8 if [ -f ${WORKDIR}/0001-Add-sys-time-and-select-include.patch ]; then
9 if [ ! -e patch_applied_rdklogger ]; then
10 bbnote "Patching 0001-Add-sys-time-and-select-include.patch"
11 patch -p1 < ${WORKDIR}/0001-Add-sys-time-and-select-include.patch
12
13 touch patch_applied_rdklogger
14 fi
15 fi
16}
17addtask do_rdk_logger_patches after do_unpack before do_configure