[rdkb][common][app][fix test-and-diagnostic build error]
[Description]
fix test-and-diagnostic build error
1. add flag _64BIT_ARCH_SUPPORT_
[Release-log]
diff --git a/recipes-ccsp/util/test-and-diagnostic.bbappend b/recipes-ccsp/util/test-and-diagnostic.bbappend
index 9b3ec6f..9338c2f 100644
--- a/recipes-ccsp/util/test-and-diagnostic.bbappend
+++ b/recipes-ccsp/util/test-and-diagnostic.bbappend
@@ -1,5 +1,20 @@
require recipes-ccsp/ccsp/ccsp_common_filogic.inc
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_append = " \
+ file://fix_64bit_build_error.patch;apply=no \
+"
+
+do_filogic_patches() {
+ cd ${S}
+ if [ ! -e patch_applied ]; then
+ patch -p1 < ${WORKDIR}/fix_64bit_build_error.patch ${S}/source/dmltad/cosa_wanconnectivity_operations.c
+ touch patch_applied
+ fi
+}
+addtask filogic_patches after do_unpack before do_configure
+
do_install_append () {
# Test and Diagonastics XML
install -m 644 ${S}/config/TestAndDiagnostic_arm.XML ${D}/usr/ccsp/tad/TestAndDiagnostic.XML