developer | 2bf53a9 | 2022-06-06 12:08:58 +0800 | [diff] [blame^] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" |
| 2 | |
| 3 | SRC_URI_append_filogic = " file://999-mtk-add-vendor.patch;apply=no" |
| 4 | SRC_URI_append_filogic = " file://999-mtk-fix-64bit-build.patch;apply=no" |
| 5 | |
| 6 | do_filogic_patches() { |
| 7 | cd ${S}/../ |
| 8 | if [ ! -e patch_applied ]; then |
| 9 | patch -p1 < ${WORKDIR}/999-mtk-add-vendor.patch |
| 10 | patch -p1 < ${WORKDIR}/999-mtk-fix-64bit-build.patch |
| 11 | touch patch_applied |
| 12 | fi |
| 13 | } |
| 14 | |
| 15 | addtask filogic_patches after do_patch before do_compile |