Skip to content

Commit

Permalink
doc: Updating environmental variable for build
Browse files Browse the repository at this point in the history
Add DEB_SAI_FLAVOR.
  • Loading branch information
stcheng committed May 2, 2016
1 parent 58870d9 commit f41c54e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,14 @@ Install prerequisite packages:

sudo apt-get install libswsscommon libswsscommon-dev

Before compiling, you will need to set an environmental variable to indicate which 'SAI flavor' you are using.

export DEB_SAI_FLAVOR=[FLAVOR]

You can compile and install from source using:

./autogen.sh
./configure
./configure --with-sai=$(DEB_SAI_FLAVOR)
make && sudo make install

You can also build a debian package using:
Expand Down

0 comments on commit f41c54e

Please sign in to comment.