Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion source/firewall/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ AM_LDFLAGS = -lccsp_common -lsecure_wrapper -lnetfilter_queue -lnfnetlink $(DBUS
bin_PROGRAMS = firewall nfq_handler

if ONESTACK_PRODUCT_REQ
AM_LDFLAGS += -lrdkb_feature_mode_gate
AM_LDFLAGS += -L${PKG_CONFIG_SYSROOT_DIR}$(libdir)
endif

firewall_SOURCES = firewall_ipv6.c firewall.c firewall_priv.c firewall_interface.c firewall_ext.c firewall_utils.c
Expand All @@ -40,10 +40,18 @@ firewall_LDADD = $(top_builddir)/source/syscfg/lib/libsyscfg.la \
$(top_builddir)/source/ulog/libulog.la \
$(top_builddir)/source/util/utils/libutopiautil.la

if ONESTACK_PRODUCT_REQ
firewall_LDADD += -lrdkb_feature_mode_gate -lonestack_syscfg
endif

nfq_handler_LDADD = $(top_builddir)/source/syscfg/lib/libsyscfg.la \
$(top_builddir)/source/sysevent/lib/libsysevent.la \
$(top_builddir)/source/ulog/libulog.la

if ONESTACK_PRODUCT_REQ
nfq_handler_LDADD += -lrdkb_feature_mode_gate -lonestack_syscfg
endif

if CORE_NET_LIB_FEATURE_SUPPORT
AM_LDFLAGS += -lnet
endif
5 changes: 3 additions & 2 deletions source/scripts/init/c_registration/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ AM_LDFLAGS = $(top_builddir)/source/util/utils/libutopiautil.la \
LDFLAGS += -lsecure_wrapper

if ONESTACK_PRODUCT_REQ
AM_LDFLAGS += -ldevicemode
LDFLAGS += -L${PKG_CONFIG_SYSROOT_DIR}$(libdir)
LDADD = -ldevicemode -ltelemetry_msgsender
endif

bin_PROGRAMS = \
Expand Down Expand Up @@ -137,5 +138,5 @@ if ENABLE_HOTSPOT_SERVICE
15_hotspot_SOURCES = 15_hotspot.c
endif
if ONESTACK_PRODUCT_REQ
LDFLAGS += -lrdkb_feature_mode_gate
LDADD += -lrdkb_feature_mode_gate -lonestack_syscfg
endif
3 changes: 2 additions & 1 deletion source/scripts/init/src/apply_system_defaults/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ AM_LDFLAGS = $(top_builddir)/source/services/lib/libsrvmgr.la \
-lccsp_common $(DBUS_LIBS)

if ONESTACK_PRODUCT_REQ
AM_LDFLAGS += -L${PKG_CONFIG_SYSROOT_DIR}$(libdir) -ldevicemode -lonestack_syscfg -lonestack_log -lonestack_init
AM_LDFLAGS += -L${PKG_CONFIG_SYSROOT_DIR}$(libdir)
apply_system_defaults_LDADD = -ldevicemode -lonestack_syscfg -lonestack_log -lonestack_init
endif

if PLATFORM_HAL_SYNDICATION
Expand Down
6 changes: 4 additions & 2 deletions source/service_ipv6/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ service_ipv6_LDADD = $(top_builddir)/source/util/utils/libutopiautil.la \
$(top_builddir)/source/syscfg/lib/libsyscfg.la \
$(top_builddir)/source/ulog/libulog.la

service_ipv6_LDFLAGS =
if CORE_NET_LIB_FEATURE_SUPPORT
service_ipv6_LDFLAGS = -lnet
service_ipv6_LDFLAGS += -lnet
endif

if ONESTACK_PRODUCT_REQ
service_ipv6_LDADD += -lrdkb_feature_mode_gate -ltelemetry_msgsender
service_ipv6_LDFLAGS += -L${PKG_CONFIG_SYSROOT_DIR}${libdir}
service_ipv6_LDADD += -lrdkb_feature_mode_gate -ltelemetry_msgsender -lonestack_syscfg
endif
2 changes: 1 addition & 1 deletion source/service_routed/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ service_routed_LDADD = $(top_builddir)/source/util/utils/libutopiautil.la \
-ltelemetry_msgsender
service_routed_LDFLAGS = -L${PKG_CONFIG_SYSROOT_DIR}${libdir}
if ONESTACK_PRODUCT_REQ
service_routed_LDFLAGS += -lrdkb_feature_mode_gate
service_routed_LDADD += -lrdkb_feature_mode_gate -lonestack_syscfg
endif
if CORE_NET_LIB_FEATURE_SUPPORT
service_routed_LDFLAGS += -lnet
Expand Down
Loading