developer | cc441a0 | 2022-05-09 19:04:26 +0800 | [diff] [blame] | 1 | require recipes-ccsp/ccsp/ccsp_common_filogic.inc |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 2 | |
developer | ea0a700 | 2022-10-03 11:44:07 +0800 | [diff] [blame] | 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 4 | |
| 5 | SRC_URI_append = " \ |
| 6 | file://fix_64bit_build_error.patch;apply=no \ |
| 7 | " |
| 8 | |
| 9 | do_filogic_patches() { |
| 10 | cd ${S} |
developer | c4c2df8 | 2022-10-04 10:43:53 +0800 | [diff] [blame^] | 11 | if [ ! -e patch_applied ] && [ -e ${S}/source/dmltad/cosa_wanconnectivity_operations.c ]; then |
developer | ea0a700 | 2022-10-03 11:44:07 +0800 | [diff] [blame] | 12 | patch -p1 < ${WORKDIR}/fix_64bit_build_error.patch ${S}/source/dmltad/cosa_wanconnectivity_operations.c |
| 13 | touch patch_applied |
| 14 | fi |
| 15 | } |
| 16 | addtask filogic_patches after do_unpack before do_configure |
| 17 | |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 18 | do_install_append () { |
| 19 | # Test and Diagonastics XML |
| 20 | install -m 644 ${S}/config/TestAndDiagnostic_arm.XML ${D}/usr/ccsp/tad/TestAndDiagnostic.XML |
| 21 | } |
| 22 | |
| 23 | EXTRA_OECONF_append = " --with-ccsp-arch=arm" |