From c17d819644746e2b90f16a518bff9b3a88670717 Mon Sep 17 00:00:00 2001 From: shibu-kv Date: Fri, 6 Feb 2026 12:51:25 -0800 Subject: [PATCH 1/5] Update build flags to support aarch64 platforms --- cov_build.sh | 28 +++++++++++++++++-- .../pal/mock-parodus/Makefile.am | 2 +- .../pal/mock-parodus/mock_parodus_build.sh | 19 +++++++++++++ 3 files changed, 45 insertions(+), 4 deletions(-) diff --git a/cov_build.sh b/cov_build.sh index a9e92048b..10341ad15 100644 --- a/cov_build.sh +++ b/cov_build.sh @@ -2,6 +2,28 @@ WORKDIR=`pwd` export ROOT=/usr export INSTALL_DIR=${ROOT}/local mkdir -p $INSTALL_DIR + +# Detect architecture for multi-platform support (x86_64 and Apple Silicon/aarch64) +ARCH=$(uname -m) +case $ARCH in + x86_64) + ARCH_LIB_PATH="/usr/lib/x86_64-linux-gnu" + ARCH_LIB_PATH_ALT="/lib/x86_64-linux-gnu" + ;; + aarch64) + ARCH_LIB_PATH="/usr/lib/aarch64-linux-gnu" + ARCH_LIB_PATH_ALT="/lib/aarch64-linux-gnu" + ;; + *) + echo "Warning: Unsupported architecture $ARCH, defaulting to x86_64 paths" + ARCH_LIB_PATH="/usr/lib/x86_64-linux-gnu" + ARCH_LIB_PATH_ALT="/lib/x86_64-linux-gnu" + ;; +esac + +# Set up library path for both architectures (aligned with L2-tests.yml) +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/lib/aarch64-linux-gnu:/usr/local/lib:$ARCH_LIB_PATH:$ARCH_LIB_PATH_ALT + apt-get update && apt-get install -y libsoup-3.0 #Build rfc @@ -57,7 +79,7 @@ make install echo "Building IARMBus stubs" cd $WORKDIR cd ./src/unittest/stubs -g++ -fPIC -shared -o libIARMBus.so iarm_stubs.cpp -I$WORKDIR/src/hostif/parodusClient/pal -I$WORKDIR/src/unittest/stubs -I$WORKDIR/src/hostif/parodusClient/waldb -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I$WORKDIR/src/hostif/include -I$WORKDIR/src/hostif/profiles/DeviceInfo -I$WORKDIR/src/hostif/parodusClient/pal -fpermissive +g++ -fPIC -shared -o libIARMBus.so iarm_stubs.cpp -I$WORKDIR/src/hostif/parodusClient/pal -I$WORKDIR/src/unittest/stubs -I$WORKDIR/src/hostif/parodusClient/waldb -I/usr/include/glib-2.0 -I$ARCH_LIB_PATH/glib-2.0/include -I$WORKDIR/src/hostif/include -I$WORKDIR/src/hostif/profiles/DeviceInfo -I$WORKDIR/src/hostif/parodusClient/pal -fpermissive g++ -fPIC -shared -o libWPEFrameworkPowerController.so powerctrl_stubs.cpp -I$WORKDIR/src/unittest/stubs -fpermissive cp libIARMBus.so /usr/local/lib cp libIBus.h /usr/local/include @@ -72,8 +94,8 @@ rm -f ./src/unittest/stubs/rdk_debug.h autoreconf -i ./configure --enable-IPv6=yes -make AM_CXXFLAGS="-I$WORKDIR/src/unittest/stubs -I$WORKDIR/src/hostif/include -I/usr/include/cjson -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I$WORKDIR/src/hostif/handlers/include -I$WORKDIR/src/hostif/parodusClient/waldb -I$WORKDIR/src/hostif/profiles/DeviceInfo -I/usr/include/cjson -I$WORKDIR/src/hostif/profiles/Time -I$WORKDIR/src/hostif/profiles/Device -I/usr/include/libsoup-3.0 -I/usr/include/yajl -I$WORKDIR/src/hostif/profiles/STBService -I$WORKDIR/src/unittest/stubs/ds -I/usr/devicesettings/ds -I/usr/local/include -I$WORKDIR/src/hostif/profiles/IP -I$WORKDIR/src/hostif/profiles/Ethernet -I/usr/local/include/rbus -I$WORKDIR/src/hostif/parodusClient/pal -I/usr/rdk-halif-device_settings/include -I/usr/local/include/libparodus -I/usr/local/include -I/usr/rdkvhal-devicesettings-raspberrypi4 -I/usr/local/include/ -I/usr/include/yajl -I/usr/tinyxml2 -I/usr/devicesettings/ds -I/$WORKDIR/src/hostif/httpserver/include -I/usr/remote_debugger/src/ -DIPV6_SUPPORT" \ -AM_LDFLAGS="-L/usr/local/lib -lrbus -lsecure_wrapper -lcurl -lrfcapi -lrdkloggers -llibparodus -lglib-2.0 -lnanomsg -lIARMBus -lWPEFrameworkPowerController -lds -ldshalcli -ldshalsrv -lwrp-c -lwdmp-c -lprocps -ltrower-base64 -lcimplog -lsoup-3.0 -L/usr/lib/x86_64-linux-gnu -lyajl -L/usr/local/lib/x86_64-linux-gnu -ltinyxml2" CXXFLAGS="-fpermissive -DPARODUS_ENABLE -DUSE_REMOTE_DEBUGGER" +make AM_CXXFLAGS="-I$WORKDIR/src/unittest/stubs -I$WORKDIR/src/hostif/include -I/usr/include/cjson -I/usr/include/glib-2.0 -I$ARCH_LIB_PATH/glib-2.0/include -I$WORKDIR/src/hostif/handlers/include -I$WORKDIR/src/hostif/parodusClient/waldb -I$WORKDIR/src/hostif/profiles/DeviceInfo -I/usr/include/cjson -I$WORKDIR/src/hostif/profiles/Time -I$WORKDIR/src/hostif/profiles/Device -I/usr/include/libsoup-3.0 -I/usr/include/yajl -I$WORKDIR/src/hostif/profiles/STBService -I$WORKDIR/src/unittest/stubs/ds -I/usr/devicesettings/ds -I/usr/local/include -I$WORKDIR/src/hostif/profiles/IP -I$WORKDIR/src/hostif/profiles/Ethernet -I/usr/local/include/rbus -I$WORKDIR/src/hostif/parodusClient/pal -I/usr/rdk-halif-device_settings/include -I/usr/local/include/libparodus -I/usr/local/include -I/usr/rdkvhal-devicesettings-raspberrypi4 -I/usr/local/include/ -I/usr/include/yajl -I/usr/tinyxml2 -I/usr/devicesettings/ds -I/$WORKDIR/src/hostif/httpserver/include -I/usr/remote_debugger/src/ -DIPV6_SUPPORT" \ +AM_LDFLAGS="-L/usr/local/lib -lrbus -lsecure_wrapper -lcurl -lrfcapi -lrdkloggers -llibparodus -lglib-2.0 -lnanomsg -lIARMBus -lWPEFrameworkPowerController -lds -ldshalcli -ldshalsrv -lwrp-c -lwdmp-c -lprocps -ltrower-base64 -lcimplog -lsoup-3.0 -L$ARCH_LIB_PATH -lyajl -L/usr/local/lib -ltinyxml2" CXXFLAGS="-fpermissive -DPARODUS_ENABLE -DUSE_REMOTE_DEBUGGER" make install cd ./src/hostif/parodusClient/pal/mock-parodus/ diff --git a/src/hostif/parodusClient/pal/mock-parodus/Makefile.am b/src/hostif/parodusClient/pal/mock-parodus/Makefile.am index 1e789bd95..74a859790 100644 --- a/src/hostif/parodusClient/pal/mock-parodus/Makefile.am +++ b/src/hostif/parodusClient/pal/mock-parodus/Makefile.am @@ -69,7 +69,7 @@ parodus_SOURCES = \ ../../../handlers/src/hostIf_XrdkCentralT2_ReqHandler.cpp \ ../../../handlers/src/hostIf_rbus_Dml_Provider.cpp -parodus_CPPFLAGS = -I../ -I../../../../unittest/stubs/ -I/usr/local/include/wrp-c/ -I../../waldb/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include/wdmp-c/ -I/usr/local/include/rbus -I../../../include/ -I../../../../unittest/stubs/ -I../../../handlers/src/ -I/usr/local/include/cjson/ -I/usr/local/include/libparodus/ -I./ -I../../waldb/ -I../../../handlers/include/ -I../../../profiles/Time/ -I../../../profiles/DeviceInfo/ -I../../../profiles/Device -I../../../handlers/include/ -I../../../../unittest/stubs/ds -I../../../profiles/Ethernet/ -I../../../include/ -I../../../profiles/IP/ -I../../../profiles/STBService/ -I/usr/rdk-halif-device_settings/include/ -I/usr/rdkvhal-devicesettings-raspberrypi4/ -DUSE_REMOTE_DEBUGGER -I/usr/remote_debugger/src/ +parodus_CPPFLAGS = -I../ -I../../../../unittest/stubs/ -I/usr/local/include/wrp-c/ -I../../waldb/ -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/local/include/wdmp-c/ -I/usr/local/include/rbus -I../../../include/ -I../../../../unittest/stubs/ -I../../../handlers/src/ -I/usr/local/include/cjson/ -I/usr/local/include/libparodus/ -I./ -I../../waldb/ -I../../../handlers/include/ -I../../../profiles/Time/ -I../../../profiles/DeviceInfo/ -I../../../profiles/Device -I../../../handlers/include/ -I../../../../unittest/stubs/ds -I../../../profiles/Ethernet/ -I../../../include/ -I../../../profiles/IP/ -I../../../profiles/STBService/ -I/usr/rdk-halif-device_settings/include/ -I/usr/rdkvhal-devicesettings-raspberrypi4/ -DUSE_REMOTE_DEBUGGER -I/usr/remote_debugger/src/ parodus_LDADD = -llibparodus -lrdkloggers -lwdmp-c -lwrp-c -lmsgpackc -lprocps -ltrower-base64 -lcimplog -lsoup-3.0 -lcjson -lpthread -lglib-2.0 -lnanomsg -lrbus -lIARMBus -lyajl -lds -ldshalcli -ldbus-1 -lsecure_wrapper -lcurl -L../../waldb/.libs/ -l:libwaldb.a -L../../../profiles/Time/.libs/ -l:libhostIfTime.a -ltinyxml2 -lIARMBus diff --git a/src/hostif/parodusClient/pal/mock-parodus/mock_parodus_build.sh b/src/hostif/parodusClient/pal/mock-parodus/mock_parodus_build.sh index b018aec1d..e6fdea780 100644 --- a/src/hostif/parodusClient/pal/mock-parodus/mock_parodus_build.sh +++ b/src/hostif/parodusClient/pal/mock-parodus/mock_parodus_build.sh @@ -1,3 +1,22 @@ sed -i '/getCurrentTime/,/^ *}/d' ../../../src/hostIf_utils.cpp + +# Detect architecture for multi-platform support (x86_64 and Apple Silicon/aarch64) +ARCH=$(uname -m) +case $ARCH in + x86_64) + ARCH_LIB_PATH="/usr/lib/x86_64-linux-gnu" + ;; + aarch64) + ARCH_LIB_PATH="/usr/lib/aarch64-linux-gnu" + ;; + *) + echo "Warning: Unsupported architecture $ARCH, defaulting to x86_64 paths" + ARCH_LIB_PATH="/usr/lib/x86_64-linux-gnu" + ;; +esac + +# Update Makefile.am with correct architecture-specific glib path +sed -i "s|/usr/lib/x86_64-linux-gnu/glib-2.0/include|$ARCH_LIB_PATH/glib-2.0/include|g" Makefile.am + autoreconf --install && \ ./configure --prefix=/usr/local && make && make install From 7d55f5c13756359a8f5b907f44403bec8f7b17e1 Mon Sep 17 00:00:00 2001 From: shibu-kv Date: Fri, 6 Feb 2026 12:55:51 -0800 Subject: [PATCH 2/5] Update build flags to support aarch64 and x86 platforms --- src/hostif/parodusClient/pal/mock-parodus/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostif/parodusClient/pal/mock-parodus/Makefile.am b/src/hostif/parodusClient/pal/mock-parodus/Makefile.am index 74a859790..9cbfe8f83 100644 --- a/src/hostif/parodusClient/pal/mock-parodus/Makefile.am +++ b/src/hostif/parodusClient/pal/mock-parodus/Makefile.am @@ -69,7 +69,7 @@ parodus_SOURCES = \ ../../../handlers/src/hostIf_XrdkCentralT2_ReqHandler.cpp \ ../../../handlers/src/hostIf_rbus_Dml_Provider.cpp -parodus_CPPFLAGS = -I../ -I../../../../unittest/stubs/ -I/usr/local/include/wrp-c/ -I../../waldb/ -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/local/include/wdmp-c/ -I/usr/local/include/rbus -I../../../include/ -I../../../../unittest/stubs/ -I../../../handlers/src/ -I/usr/local/include/cjson/ -I/usr/local/include/libparodus/ -I./ -I../../waldb/ -I../../../handlers/include/ -I../../../profiles/Time/ -I../../../profiles/DeviceInfo/ -I../../../profiles/Device -I../../../handlers/include/ -I../../../../unittest/stubs/ds -I../../../profiles/Ethernet/ -I../../../include/ -I../../../profiles/IP/ -I../../../profiles/STBService/ -I/usr/rdk-halif-device_settings/include/ -I/usr/rdkvhal-devicesettings-raspberrypi4/ -DUSE_REMOTE_DEBUGGER -I/usr/remote_debugger/src/ +parodus_CPPFLAGS = -I../ -I../../../../unittest/stubs/ -I/usr/local/include/wrp-c/ -I../../waldb/ $(shell pkg-config --cflags glib-2.0) -I/usr/local/include/wdmp-c/ -I/usr/local/include/rbus -I../../../include/ -I../../../../unittest/stubs/ -I../../../handlers/src/ -I/usr/local/include/cjson/ -I/usr/local/include/libparodus/ -I./ -I../../waldb/ -I../../../handlers/include/ -I../../../profiles/Time/ -I../../../profiles/DeviceInfo/ -I../../../profiles/Device -I../../../handlers/include/ -I../../../../unittest/stubs/ds -I../../../profiles/Ethernet/ -I../../../include/ -I../../../profiles/IP/ -I../../../profiles/STBService/ -I/usr/rdk-halif-device_settings/include/ -I/usr/rdkvhal-devicesettings-raspberrypi4/ -DUSE_REMOTE_DEBUGGER -I/usr/remote_debugger/src/ parodus_LDADD = -llibparodus -lrdkloggers -lwdmp-c -lwrp-c -lmsgpackc -lprocps -ltrower-base64 -lcimplog -lsoup-3.0 -lcjson -lpthread -lglib-2.0 -lnanomsg -lrbus -lIARMBus -lyajl -lds -ldshalcli -ldbus-1 -lsecure_wrapper -lcurl -L../../waldb/.libs/ -l:libwaldb.a -L../../../profiles/Time/.libs/ -l:libhostIfTime.a -ltinyxml2 -lIARMBus From be194a853daf8f73aa097342891aab22409d45d0 Mon Sep 17 00:00:00 2001 From: shibu-kv Date: Wed, 11 Feb 2026 10:37:54 -0800 Subject: [PATCH 3/5] Update build flags to support aarch64 and x86 platforms --- cov_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cov_build.sh b/cov_build.sh index 10341ad15..97f811a24 100644 --- a/cov_build.sh +++ b/cov_build.sh @@ -22,7 +22,7 @@ case $ARCH in esac # Set up library path for both architectures (aligned with L2-tests.yml) -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/lib/aarch64-linux-gnu:/usr/local/lib:$ARCH_LIB_PATH:$ARCH_LIB_PATH_ALT +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ARCH_LIB_PATH:$ARCH_LIB_PATH_ALT:/usr/local/lib apt-get update && apt-get install -y libsoup-3.0 From dfb124c5e2311f83442ffec8096e443abde452ab Mon Sep 17 00:00:00 2001 From: Shibu Kakkoth Vayalambron Date: Tue, 5 May 2026 07:40:16 -0700 Subject: [PATCH 4/5] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- cov_build.sh | 10 +++++++--- .../parodusClient/pal/mock-parodus/Makefile.am | 2 +- .../pal/mock-parodus/mock_parodus_build.sh | 18 ------------------ 3 files changed, 8 insertions(+), 22 deletions(-) diff --git a/cov_build.sh b/cov_build.sh index 97f811a24..6be59db51 100644 --- a/cov_build.sh +++ b/cov_build.sh @@ -3,14 +3,14 @@ export ROOT=/usr export INSTALL_DIR=${ROOT}/local mkdir -p $INSTALL_DIR -# Detect architecture for multi-platform support (x86_64 and Apple Silicon/aarch64) +# Detect architecture for multi-platform Linux support (x86_64 and aarch64/arm64) ARCH=$(uname -m) case $ARCH in x86_64) ARCH_LIB_PATH="/usr/lib/x86_64-linux-gnu" ARCH_LIB_PATH_ALT="/lib/x86_64-linux-gnu" ;; - aarch64) + aarch64|arm64) ARCH_LIB_PATH="/usr/lib/aarch64-linux-gnu" ARCH_LIB_PATH_ALT="/lib/aarch64-linux-gnu" ;; @@ -22,7 +22,11 @@ case $ARCH in esac # Set up library path for both architectures (aligned with L2-tests.yml) -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ARCH_LIB_PATH:$ARCH_LIB_PATH_ALT:/usr/local/lib +if [ -n "${LD_LIBRARY_PATH:-}" ]; then + export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ARCH_LIB_PATH}:${ARCH_LIB_PATH_ALT}:/usr/local/lib" +else + export LD_LIBRARY_PATH="${ARCH_LIB_PATH}:${ARCH_LIB_PATH_ALT}:/usr/local/lib" +fi apt-get update && apt-get install -y libsoup-3.0 diff --git a/src/hostif/parodusClient/pal/mock-parodus/Makefile.am b/src/hostif/parodusClient/pal/mock-parodus/Makefile.am index 9cbfe8f83..64a75ff9a 100644 --- a/src/hostif/parodusClient/pal/mock-parodus/Makefile.am +++ b/src/hostif/parodusClient/pal/mock-parodus/Makefile.am @@ -69,7 +69,7 @@ parodus_SOURCES = \ ../../../handlers/src/hostIf_XrdkCentralT2_ReqHandler.cpp \ ../../../handlers/src/hostIf_rbus_Dml_Provider.cpp -parodus_CPPFLAGS = -I../ -I../../../../unittest/stubs/ -I/usr/local/include/wrp-c/ -I../../waldb/ $(shell pkg-config --cflags glib-2.0) -I/usr/local/include/wdmp-c/ -I/usr/local/include/rbus -I../../../include/ -I../../../../unittest/stubs/ -I../../../handlers/src/ -I/usr/local/include/cjson/ -I/usr/local/include/libparodus/ -I./ -I../../waldb/ -I../../../handlers/include/ -I../../../profiles/Time/ -I../../../profiles/DeviceInfo/ -I../../../profiles/Device -I../../../handlers/include/ -I../../../../unittest/stubs/ds -I../../../profiles/Ethernet/ -I../../../include/ -I../../../profiles/IP/ -I../../../profiles/STBService/ -I/usr/rdk-halif-device_settings/include/ -I/usr/rdkvhal-devicesettings-raspberrypi4/ -DUSE_REMOTE_DEBUGGER -I/usr/remote_debugger/src/ +parodus_CPPFLAGS = -I../ -I../../../../unittest/stubs/ -I/usr/local/include/wrp-c/ -I../../waldb/ $(GLIB_CFLAGS) -I/usr/local/include/wdmp-c/ -I/usr/local/include/rbus -I../../../include/ -I../../../../unittest/stubs/ -I../../../handlers/src/ -I/usr/local/include/cjson/ -I/usr/local/include/libparodus/ -I./ -I../../waldb/ -I../../../handlers/include/ -I../../../profiles/Time/ -I../../../profiles/DeviceInfo/ -I../../../profiles/Device -I../../../handlers/include/ -I../../../../unittest/stubs/ds -I../../../profiles/Ethernet/ -I../../../include/ -I../../../profiles/IP/ -I../../../profiles/STBService/ -I/usr/rdk-halif-device_settings/include/ -I/usr/rdkvhal-devicesettings-raspberrypi4/ -DUSE_REMOTE_DEBUGGER -I/usr/remote_debugger/src/ parodus_LDADD = -llibparodus -lrdkloggers -lwdmp-c -lwrp-c -lmsgpackc -lprocps -ltrower-base64 -lcimplog -lsoup-3.0 -lcjson -lpthread -lglib-2.0 -lnanomsg -lrbus -lIARMBus -lyajl -lds -ldshalcli -ldbus-1 -lsecure_wrapper -lcurl -L../../waldb/.libs/ -l:libwaldb.a -L../../../profiles/Time/.libs/ -l:libhostIfTime.a -ltinyxml2 -lIARMBus diff --git a/src/hostif/parodusClient/pal/mock-parodus/mock_parodus_build.sh b/src/hostif/parodusClient/pal/mock-parodus/mock_parodus_build.sh index e6fdea780..202f5054a 100644 --- a/src/hostif/parodusClient/pal/mock-parodus/mock_parodus_build.sh +++ b/src/hostif/parodusClient/pal/mock-parodus/mock_parodus_build.sh @@ -1,22 +1,4 @@ sed -i '/getCurrentTime/,/^ *}/d' ../../../src/hostIf_utils.cpp -# Detect architecture for multi-platform support (x86_64 and Apple Silicon/aarch64) -ARCH=$(uname -m) -case $ARCH in - x86_64) - ARCH_LIB_PATH="/usr/lib/x86_64-linux-gnu" - ;; - aarch64) - ARCH_LIB_PATH="/usr/lib/aarch64-linux-gnu" - ;; - *) - echo "Warning: Unsupported architecture $ARCH, defaulting to x86_64 paths" - ARCH_LIB_PATH="/usr/lib/x86_64-linux-gnu" - ;; -esac - -# Update Makefile.am with correct architecture-specific glib path -sed -i "s|/usr/lib/x86_64-linux-gnu/glib-2.0/include|$ARCH_LIB_PATH/glib-2.0/include|g" Makefile.am - autoreconf --install && \ ./configure --prefix=/usr/local && make && make install From 9878a74d193b55c9b421d1cadf2a86e662f249d4 Mon Sep 17 00:00:00 2001 From: Shibu Kakkoth Vayalambron Date: Tue, 5 May 2026 08:14:11 -0700 Subject: [PATCH 5/5] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/hostif/parodusClient/pal/mock-parodus/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hostif/parodusClient/pal/mock-parodus/Makefile.am b/src/hostif/parodusClient/pal/mock-parodus/Makefile.am index 64a75ff9a..1227931fd 100644 --- a/src/hostif/parodusClient/pal/mock-parodus/Makefile.am +++ b/src/hostif/parodusClient/pal/mock-parodus/Makefile.am @@ -69,7 +69,9 @@ parodus_SOURCES = \ ../../../handlers/src/hostIf_XrdkCentralT2_ReqHandler.cpp \ ../../../handlers/src/hostIf_rbus_Dml_Provider.cpp -parodus_CPPFLAGS = -I../ -I../../../../unittest/stubs/ -I/usr/local/include/wrp-c/ -I../../waldb/ $(GLIB_CFLAGS) -I/usr/local/include/wdmp-c/ -I/usr/local/include/rbus -I../../../include/ -I../../../../unittest/stubs/ -I../../../handlers/src/ -I/usr/local/include/cjson/ -I/usr/local/include/libparodus/ -I./ -I../../waldb/ -I../../../handlers/include/ -I../../../profiles/Time/ -I../../../profiles/DeviceInfo/ -I../../../profiles/Device -I../../../handlers/include/ -I../../../../unittest/stubs/ds -I../../../profiles/Ethernet/ -I../../../include/ -I../../../profiles/IP/ -I../../../profiles/STBService/ -I/usr/rdk-halif-device_settings/include/ -I/usr/rdkvhal-devicesettings-raspberrypi4/ -DUSE_REMOTE_DEBUGGER -I/usr/remote_debugger/src/ +MOCK_PARODUS_GLIB_CFLAGS = $(if $(strip $(GLIB_CFLAGS)),$(GLIB_CFLAGS),$(shell pkg-config --cflags glib-2.0 2>/dev/null)) + +parodus_CPPFLAGS = -I../ -I../../../../unittest/stubs/ -I/usr/local/include/wrp-c/ -I../../waldb/ $(MOCK_PARODUS_GLIB_CFLAGS) -I/usr/local/include/wdmp-c/ -I/usr/local/include/rbus -I../../../include/ -I../../../../unittest/stubs/ -I../../../handlers/src/ -I/usr/local/include/cjson/ -I/usr/local/include/libparodus/ -I./ -I../../waldb/ -I../../../handlers/include/ -I../../../profiles/Time/ -I../../../profiles/DeviceInfo/ -I../../../profiles/Device -I../../../handlers/include/ -I../../../../unittest/stubs/ds -I../../../profiles/Ethernet/ -I../../../include/ -I../../../profiles/IP/ -I../../../profiles/STBService/ -I/usr/rdk-halif-device_settings/include/ -I/usr/rdkvhal-devicesettings-raspberrypi4/ -DUSE_REMOTE_DEBUGGER -I/usr/remote_debugger/src/ parodus_LDADD = -llibparodus -lrdkloggers -lwdmp-c -lwrp-c -lmsgpackc -lprocps -ltrower-base64 -lcimplog -lsoup-3.0 -lcjson -lpthread -lglib-2.0 -lnanomsg -lrbus -lIARMBus -lyajl -lds -ldshalcli -ldbus-1 -lsecure_wrapper -lcurl -L../../waldb/.libs/ -l:libwaldb.a -L../../../profiles/Time/.libs/ -l:libhostIfTime.a -ltinyxml2 -lIARMBus