README: cd to DPDK dir in a subshell

Tweak the build instructions slightly to make them simpler to follow.

If someone is reading the instructions top to bottom, the section about
how to build SPDK assumes the current directory is the top-level SPDK
repository, but if the reader just finished building DPDK, they would be
in the DPDK directory.

Change-Id: Ie3dd587bcf1ac41ac3579a75f9b329b0eeaafd7a
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-02-18 16:03:30 -07:00 committed by Gerrit Code Review
parent 55dc5f2131
commit add9186f73

View File

@ -52,15 +52,14 @@ Additionally, [DPDK](http://dpdk.org/doc/quick-start) is required.
1) cd /path/to/spdk
2) wget http://dpdk.org/browse/dpdk/snapshot/dpdk-2.2.0.tar.gz
3) tar xfz dpdk-2.2.0.tar.gz
4) cd dpdk-2.2.0
Linux:
5) make install T=x86_64-native-linuxapp-gcc DESTDIR=.
4) (cd dpdk-2.2.0 && make install T=x86_64-native-linuxapp-gcc DESTDIR=.)
FreeBSD:
5) gmake install T=x86_64-native-bsdapp-clang DESTDIR=.
4) (cd dpdk-2.2.0 && gmake install T=x86_64-native-bsdapp-clang DESTDIR=.)
Building
========