summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasufumi Ogawa <yasufum.o@gmail.com>2019-08-21 14:43:17 +0900
committerYasufumi Ogawa <yasufum.o@gmail.com>2019-08-26 10:43:48 +0700
commit7d50b184b04e0ad96414274a82bfedf9c126f9a8 (patch)
treea590c90572a877ab066ce2588900f2376a6f739e
parent5ee464b2914a45bd49e3b8998ecbe099aa8f7bb7 (diff)
downloadspp-7d50b184b04e0ad96414274a82bfedf9c126f9a8.zip
spp-7d50b184b04e0ad96414274a82bfedf9c126f9a8.tar.gz
spp-7d50b184b04e0ad96414274a82bfedf9c126f9a8.tar.xz
tools/sppc: fix --signle-file-segments true
This update is to fix a bug for which --single-file-segments option is always activated even if it is not given. Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
-rw-r--r--tools/sppc/lib/app_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sppc/lib/app_helper.py b/tools/sppc/lib/app_helper.py
index 310d9e2..6e25074 100644
--- a/tools/sppc/lib/app_helper.py
+++ b/tools/sppc/lib/app_helper.py
@@ -104,7 +104,7 @@ def setup_eal_opts(args, file_prefix, proc_type='auto', hugedir=None):
for wd in args.pci_whitelist:
eal_opts += ['-w', wd, '\\']
- if args.single_file_segments is not None:
+ if args.single_file_segments is True:
eal_opts += ['--single-file-segments', '\\']
eal_opts += [