summaryrefslogtreecommitdiffstats
path: root/build/external
diff options
context:
space:
mode:
Diffstat (limited to 'build/external')
-rw-r--r--build/external/Makefile2
-rw-r--r--build/external/packages/dpdk.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/external/Makefile b/build/external/Makefile
index 3cb7b47f436..6b5f9058dda 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -21,7 +21,7 @@ INSTALL_DIR ?= $(CURDIR)/_install
PKG_VERSION ?= $(shell git describe --abbrev=0 --match 'v[0-9]*' | cut -d- -f1 | cut -dv -f2 | cut -d. -f1,2)
PKG_SUFFIX ?= $(shell git log --oneline v$(PKG_VERSION)-rc0.. . | wc -l)
SOURCE_DATE_EPOCH ?= $(shell git log -1 --pretty=%ct .)
-ifeq ($shell(uname), FreeBSD)
+ifeq ($(shell uname), FreeBSD)
JOBS := $(shell nproc)
else
JOBS := $(if $(shell [ -f /proc/cpuinfo ] && head /proc/cpuinfo),\
diff --git a/build/external/packages/dpdk.mk b/build/external/packages/dpdk.mk
index c03d1a14703..8ee65faac8c 100644
--- a/build/external/packages/dpdk.mk
+++ b/build/external/packages/dpdk.mk
@@ -138,7 +138,7 @@ DPDK_DRIVERS_DISABLED := $(shell echo $(DPDK_DRIVERS_DISABLED) | tr -d '\\\t ')
DPDK_LIBS_DISABLED := $(shell echo $(DPDK_LIBS_DISABLED) | tr -d '\\\t ')
SED=sed
-ifeq ($shell(uname), FreeBSD)
+ifeq ($(shell uname), FreeBSD)
SED=gsed
endif