From add9186f730e1da72f0c37d541a4a9938a1f22ad Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 18 Feb 2016 16:03:30 -0700 Subject: [PATCH] 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 --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b36057eef..e0a2c4861 100644 --- a/README.md +++ b/README.md @@ -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 ========