Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
allow Makefile to build for other platforms - restore it original for…
Browse files Browse the repository at this point in the history
… non-bfn platforms
  • Loading branch information
kram committed Jan 18, 2018
1 parent 2da73f8 commit d6b0ca3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions saidiscovery/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ endif
if SAIVS
SAILIB=-L$(top_srcdir)/vslib/src/.libs -lsaivs
else
ifeq ($(PLATFORM),barefoot)
SAILIB=-L/opt/bfn/install/lib -lswitchsai -lswitchapi -lbf_switchd_lib -ltofinopdfixed_thrift -ldriver -lbfutils -lbfsys -lbfutils -L/opt/bfn/install/lib/tofinopd/switch -lpd -lpdcli -lpdthrift
else
SAILIB=-lsai
endif
endif

saidiscovery_SOURCES = saidiscovery.cpp
Expand Down
4 changes: 4 additions & 0 deletions saisdkdump/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ endif
if SAIVS
SAILIB=-L$(top_srcdir)/vslib/src/.libs -lsaivs
else
ifeq ($(PLATFORM),barefoot)
SAILIB=-L/opt/bfn/install/lib -lswitchsai -lswitchapi -lbf_switchd_lib -ltofinopdfixed_thrift -ldriver -lbfutils -lbfsys -lbfutils -L/opt/bfn/install/lib/tofinopd/switch -lpd -lpdcli -lpdthrift
else
SAILIB=-lsai
endif
endif

saisdkdump_SOURCES = saisdkdump.cpp
Expand Down
4 changes: 4 additions & 0 deletions syncd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ endif
if SAIVS
SAILIB=-L$(top_srcdir)/vslib/src/.libs -lsaivs
else
ifeq ($(PLATFORM),barefoot)
SAILIB=-L/opt/bfn/install/lib -lswitchsai -lswitchapi -lbf_switchd_lib -ltofinopdfixed_thrift -ldriver -lbfutils -lbfsys -lbfutils -L/opt/bfn/install/lib/tofinopd/switch -lpd -lpdcli -lpdthrift
else
SAILIB=-lsai
endif
endif

syncd_SOURCES = \
Expand Down

0 comments on commit d6b0ca3

Please sign in to comment.