build: use integer for max ethdev ports option

max_ethports was merged after the other patch was written:

e04ea7fcf0 ("build: use integers for numerical options")

So convert this one too like the others have already been.

Fixes: d5555fc900 ("build: add option to override max ethdev ports")

Signed-off-by: Luca Boccassi <bluca@debian.org>
This commit is contained in:
Luca Boccassi 2019-03-01 15:46:51 +00:00 committed by Thomas Monjalon
parent 99889bd852
commit cf123ee7c4

View File

@ -20,7 +20,7 @@ option('lib_musdk_dir', type: 'string', value: '',
description: 'path to the MUSDK library installation directory')
option('machine', type: 'string', value: 'native',
description: 'set the target machine type')
option('max_ethports', type: 'string', value: '32',
option('max_ethports', type: 'integer', value: 32,
description: 'maximum number of Ethernet devices')
option('max_lcores', type: 'integer', value: 128,
description: 'maximum number of cores/threads supported by EAL')