aboutsummaryrefslogtreecommitdiffstats
path: root/build/external/Makefile
diff options
context:
space:
mode:
authorRenato Botelho do Couto <renato@netgate.com>2024-06-05 17:49:09 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-06-10 13:14:04 +0000
commit8a424338addc5c23e7ced85e908fe7d8b087b3d4 (patch)
tree9b565a3e8a3d26810f3aaee586ead6f778363668 /build/external/Makefile
parent893dacae3f93dcab24fdeb0c7e4a44d30b2db0ee (diff)
build: Fix makefile syntax
Type: fix Change-Id: I29f679ffbc14242d9e7e5284b698b86a70fbbef6 Signed-off-by: Renato Botelho do Couto <renato@netgate.com>
Diffstat (limited to 'build/external/Makefile')
-rw-r--r--build/external/Makefile2
1 files changed, 1 insertions, 1 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),\