From f41c54e49d6bee920862898611f4688bd09efa2f Mon Sep 17 00:00:00 2001 From: Shuotian Cheng Date: Mon, 2 May 2016 15:50:48 -0700 Subject: [PATCH] doc: Updating environmental variable for build Add DEB_SAI_FLAVOR. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2bf3cf5c4c46..93886d6a11b0 100644 --- a/README.md +++ b/README.md @@ -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: