Skip to content

RDKB-62974 RDKB-62976: Native build for Coverity - Use Git Submodule#85

Merged
GoutamD2905 merged 5 commits intodevelopfrom
feature/RDKB-63059
Feb 5, 2026
Merged

RDKB-62974 RDKB-62976: Native build for Coverity - Use Git Submodule#85
GoutamD2905 merged 5 commits intodevelopfrom
feature/RDKB-63059

Conversation

@manedurphy
Copy link
Contributor

- Fixes GitHub Action path to build script
- Compiles with the preprocessor flags shown in log.do_compile step
- README.md updated to pointed to centralized documentation in
build_tools_workflows
@manedurphy manedurphy requested a review from a team as a code owner February 5, 2026 05:55
Copilot AI review requested due to automatic review settings February 5, 2026 05:55
@manedurphy manedurphy requested a review from a team as a code owner February 5, 2026 05:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the native build system for Coverity from using a cloned repository approach to a Git submodule approach, centralizing build tools in the rdkcentral/build_tools_workflows repository.

Changes:

  • Replaced wrapper scripts that cloned build_tools_workflows with direct usage via Git submodule
  • Reorganized and documented compiler flags in configure_options.conf for better maintainability
  • Updated dependency configuration to use standardized build types and reordered dependencies

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
cov_docker_script/run_setup_dependencies.sh Removed wrapper script as build tools are now accessed via submodule
cov_docker_script/run_native_build.sh Removed wrapper script as build tools are now accessed via submodule
cov_docker_script/run_external_build.sh Removed wrapper script as build tools are now accessed via submodule
cov_docker_script/configure_options.conf Reorganized compiler flags with categorization and added missing include paths
cov_docker_script/component_config.json Simplified dependency configuration and reordered dependencies
cov_docker_script/README.md Replaced detailed documentation with reference to centralized docs in build_tools_workflows
build_tools_workflows Added as Git submodule pointing to develop branch
.gitmodules Added submodule configuration for build_tools_workflows
.github/workflows/native-build.yml Updated to use submodule-based build scripts instead of wrapper scripts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

-D_2_5G_ETHERNET_SUPPORT_
-D_BRIDGE_UTILS_BIN_

# Cable Modem & DOCSIS
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Section comment incorrectly categorizes MACsec support. MACsec (line 109) is a Layer 2 security protocol for Ethernet and is not specific to Cable Modem or DOCSIS.

Copilot uses AI. Check for mistakes.
-DFEATURE_RDKB_INTER_DEVICE_MANAGER
-D_MACSEC_SUPPORT_

# MAP-T / NAT46 (IPv4/IPv6 Translation)
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment describing MAP-T includes a parenthetical clarification '(IPv4/IPv6 Translation)'. While technically correct, MAP-T specifically refers to 'Mapping of Address and Port with Translation' which is a more precise description than the generic 'IPv4/IPv6 Translation' term.

Suggested change
# MAP-T / NAT46 (IPv4/IPv6 Translation)
# MAP-T (Mapping of Address and Port with Translation) / NAT46

Copilot uses AI. Check for mistakes.
"meson setup build --prefix=$HOME/usr",
"meson compile -C build"
]
"type": "meson"
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build configuration for trower-base64 was changed from explicit meson commands to simplified 'type: meson'. Ensure that the default meson build behavior (which would typically use 'meson setup builddir --prefix=$HOME/usr' and 'meson compile -C builddir') produces the same result as the previous explicit commands, particularly regarding the prefix path.

Suggested change
"type": "meson"
"type": "custom",
"commands": [
"meson setup builddir --prefix=$HOME/usr",
"meson compile -C builddir"
]

Copilot uses AI. Check for mistakes.
@GoutamD2905 GoutamD2905 merged commit d07703f into develop Feb 5, 2026
14 of 15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants