Revert "[rdkb][common][app][Fix ccsp-eth-agent build error]"
[Description]
RDKB have finally fix this compile errors in two months.
[Release-log]
N/A
Change-Id: Ic4b6a180d80006eb13410d0876a7d125f37d7855
diff --git a/recipes-ccsp/ccsp/ccsp-eth-agent.bbappend b/recipes-ccsp/ccsp/ccsp-eth-agent.bbappend
index cbc6a60..a7ec1c0 100644
--- a/recipes-ccsp/ccsp/ccsp-eth-agent.bbappend
+++ b/recipes-ccsp/ccsp/ccsp-eth-agent.bbappend
@@ -1,21 +1,5 @@
require ccsp_common_filogic.inc
-FILESEXTRAPATHS_append := "${THISDIR}/files:"
-
-SRC_URI_append += " \
- file://Fix-ccsp-eth-agent-build-error.patch;apply=no \
-"
-
-do_filogic_patches() {
- cd ${S}
-
- if [ ! -e filogic_patch_applied ] && [ "${PROJECT_BRANCH}" = "rdk-next" ]; then
- patch -p1 < ${WORKDIR}/Fix-ccsp-eth-agent-build-error.patch
- touch filogic_patch_applied
- fi
-}
-addtask filogic_patches after do_unpack before do_configure
-
CFLAGS_aarch64_append = " -Werror=format-truncation=1 "
EXTRA_OECONF_append_dunfell = " --with-ccsp-arch=arm"
diff --git a/recipes-ccsp/ccsp/files/Fix-ccsp-eth-agent-build-error.patch b/recipes-ccsp/ccsp/files/Fix-ccsp-eth-agent-build-error.patch
deleted file mode 100644
index 9b562e6..0000000
--- a/recipes-ccsp/ccsp/files/Fix-ccsp-eth-agent-build-error.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From de1631bd9636e579cce830022a97f6232e2c217e Mon Sep 17 00:00:00 2001
-From: Allen Ye <allen.ye@mediatek.com>
-Date: Wed, 31 Jan 2024 10:27:09 +0800
-Subject: [PATCH] Fix build error
-
----
- source/TR-181/board_sbapi/cosa_ethernet_apis.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/source/TR-181/board_sbapi/cosa_ethernet_apis.c b/source/TR-181/board_sbapi/cosa_ethernet_apis.c
-index efa3c57..cc66856 100644
---- a/source/TR-181/board_sbapi/cosa_ethernet_apis.c
-+++ b/source/TR-181/board_sbapi/cosa_ethernet_apis.c
-@@ -1539,8 +1539,8 @@ ANSC_STATUS CosaDmlIfaceFinalize(char *pValue, BOOL isAutoWanMode)
- else
- {
- char acSetParamName[256];
-- char acTmpCableValue[32] = {0};
-- char acTmpEthValue[32] = {0};
-+ char acTmpCableValue[64] = {0};
-+ char acTmpEthValue[64] = {0};
- if (ethwanEnabled == TRUE)
- {
- snprintf(acTmpCableValue, sizeof(acTmpCableValue), "%s", ETHWAN_DOCSIS_INF_NAME);
---
-2.18.0
-