blob: c1e19c7cd8ac7540a5f5aac7e41db271299ed718 [file] [log] [blame]
developercc441a02022-05-09 19:04:26 +08001require recipes-ccsp/ccsp/ccsp_common_filogic.inc
developer15a43312022-04-12 11:23:23 +08002
developerea0a7002022-10-03 11:44:07 +08003FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
4
5SRC_URI_append = " \
6 file://fix_64bit_build_error.patch;apply=no \
7"
8
9do_filogic_patches() {
10 cd ${S}
developerc4c2df82022-10-04 10:43:53 +080011 if [ ! -e patch_applied ] && [ -e ${S}/source/dmltad/cosa_wanconnectivity_operations.c ]; then
developerea0a7002022-10-03 11:44:07 +080012 patch -p1 < ${WORKDIR}/fix_64bit_build_error.patch ${S}/source/dmltad/cosa_wanconnectivity_operations.c
13 touch patch_applied
14 fi
15}
16addtask filogic_patches after do_unpack before do_configure
17
developer15a43312022-04-12 11:23:23 +080018do_install_append () {
19 # Test and Diagonastics XML
20 install -m 644 ${S}/config/TestAndDiagnostic_arm.XML ${D}/usr/ccsp/tad/TestAndDiagnostic.XML
21}
22
23EXTRA_OECONF_append = " --with-ccsp-arch=arm"