Commit add9186f authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Gerrit Code Review
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 55dc5f21
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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
========