Skip to content

Re-Structure the rdk-gdcs/rdkb_common_utils#348

Open
Deepak-Rathn wants to merge 3 commits into
developfrom
topic/RDKB-65324
Open

Re-Structure the rdk-gdcs/rdkb_common_utils#348
Deepak-Rathn wants to merge 3 commits into
developfrom
topic/RDKB-65324

Conversation

@Deepak-Rathn

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Deepak-Rathn <deepak.rathn@gmail.com>
Copilot AI review requested due to automatic review settings June 16, 2026 07:05
@Deepak-Rathn Deepak-Rathn requested review from a team as code owners June 16, 2026 07:05
@github-actions

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates multiple Automake build recipes to support the re-structured rdkb_common_utils layout by adjusting how ONESTACK-specific libraries are linked (notably moving feature-gate libs into LDADD and adding onestack_syscfg).

Changes:

  • Link -lrdkb_feature_mode_gate (and newly -lonestack_syscfg) via per-target *_LDADD in several components.
  • Add sysroot -L...$(libdir) search paths for ONESTACK builds where needed.
  • Refactor ONESTACK linking in init utilities to include additional ONESTACK libraries.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
source/service_routed/Makefile.am Move ONESTACK feature-gate linking into service_routed_LDADD and add onestack_syscfg.
source/service_ipv6/Makefile.am Add ONESTACK sysroot -L... and onestack_syscfg to link inputs (currently introduces a flag overwrite issue).
source/scripts/init/src/apply_system_defaults/Makefile.am Switch ONESTACK link inputs from global AM_LDFLAGS to target-specific variables (currently mixes -L into LDADD).
source/scripts/init/c_registration/Makefile.am Add ONESTACK sysroot -L..., devicemode/telemetry libs, and append feature-gate + onestack_syscfg.
source/firewall/Makefile.am Add ONESTACK sysroot -L... and move feature-gate + onestack_syscfg into per-target *_LDADD for both binaries.

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

Comment thread source/service_ipv6/Makefile.am Outdated
Comment on lines +41 to +42
service_ipv6_LDFLAGS = -L${PKG_CONFIG_SYSROOT_DIR}${libdir}
service_ipv6_LDADD += -lrdkb_feature_mode_gate -ltelemetry_msgsender -lonestack_syscfg

if ONESTACK_PRODUCT_REQ
AM_LDFLAGS += -L${PKG_CONFIG_SYSROOT_DIR}$(libdir) -ldevicemode -lonestack_syscfg -lonestack_log -lonestack_init
apply_system_defaults_LDADD = -L${PKG_CONFIG_SYSROOT_DIR}$(libdir) -ldevicemode -lonestack_syscfg -lonestack_log -lonestack_init
Signed-off-by: Deepak-Rathn <deepak.rathn@gmail.com>
Signed-off-by: Deepak-Rathn <deepak.rathn@gmail.com>
Copilot AI review requested due to automatic review settings June 16, 2026 09:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants