summaryrefslogtreecommitdiffstats
path: root/dpdk
diff options
context:
space:
mode:
Diffstat (limited to 'dpdk')
-rw-r--r--dpdk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpdk/Makefile b/dpdk/Makefile
index 9c9708cdabb..0f6cbce4003 100644
--- a/dpdk/Makefile
+++ b/dpdk/Makefile
@@ -148,7 +148,7 @@ endif
# NB: GNU Make 4.2 will let us use '$(file </proc/cpuinfo)' to both test
# for file presence and content; for now this will have to do.
JOBS := $(if $(shell [ -f /proc/cpuinfo ] && head /proc/cpuinfo),\
- $(shell expr 2 '*' $$(grep -c ^processor /proc/cpuinfo)), 2)
+ $(shell grep -c ^processor /proc/cpuinfo), 2)
# compiler/linker custom arguments
DPDK_CPU_CFLAGS := -pie -fPIC