Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ AC_HEADER_STDC
AM_PATH_PYTHON
AM_PATH_PYTHON3



AM_CONDITIONAL(sonic_asic_platform_barefoot, test x$CONFIGURED_PLATFORM = xbarefoot)
AM_CONDITIONAL(sonic_asic_platform_mellanox, test x$CONFIGURED_PLATFORM = xmellanox)
AM_CONDITIONAL(sonic_asic_platform_clounix, test x$CONFIGURED_PLATFORM = xclounix)

AC_ARG_ENABLE(debug,
[ --enable-debug turn on debugging],
Expand Down
5 changes: 5 additions & 0 deletions syncd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ syncd_CPPFLAGS += -DSAITHRIFT=yes
syncd_LDADD += -lrpcserver -lthrift
endif

if sonic_asic_platform_clounix
syncd_CPPFLAGS += -DSAI_SUPPORT_UNINIT_DATA_PLANE_ON_REMOVAL
libSyncd_a_CPPFLAGS += -DSAI_SUPPORT_UNINIT_DATA_PLANE_ON_REMOVAL
endif

libSyncdRequestShutdown_a_SOURCES = \
RequestShutdown.cpp \
RequestShutdownCommandLineOptions.cpp \
Expand Down
6 changes: 6 additions & 0 deletions syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ config_syncd_vs()
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
}

config_syncd_clounix()
{
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
}
config_syncd_innovium()
{
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
Expand Down Expand Up @@ -237,6 +241,8 @@ config_syncd()
config_syncd_nephos
elif [ "$SONIC_ASIC_TYPE" == "vs" ]; then
config_syncd_vs
elif [ "$SONIC_ASIC_TYPE" == "clounix" ]; then
config_syncd_clounix
elif [ "$SONIC_ASIC_TYPE" == "innovium" ]; then
config_syncd_innovium
else
Expand Down