developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame^] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" |
| 2 | |
| 3 | SRC_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 |
| 6 | do_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 | } |
| 17 | addtask do_rdk_logger_patches after do_unpack before do_configure |