diff --git a/build/build_common.mk b/build/build_common.mk index 92a7f03e9b8..5c4a1654919 100644 --- a/build/build_common.mk +++ b/build/build_common.mk @@ -20,7 +20,6 @@ BUILD_DIR ?= $(CURDIR)/_build INSTALL_DIR ?= $(CURDIR)/_install DOWNLOAD_DIR ?= $(CURDIR)/downloads 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) JOBS := $(shell nproc) diff --git a/build/external/Makefile b/build/external/Makefile index d70ba7c3f6a..5394eccc3cb 100644 --- a/build/external/Makefile +++ b/build/external/Makefile @@ -11,6 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +PKG_SUFFIX ?= $(shell git log --oneline v$(PKG_VERSION)-rc0.. . | wc -l) + include ../build_common.mk include ../packages_common.mk diff --git a/build/optional/Makefile b/build/optional/Makefile index 012d4c98c58..c94412f395e 100644 --- a/build/optional/Makefile +++ b/build/optional/Makefile @@ -11,6 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +PKG_SUFFIX ?= $(shell git log --oneline v$(PKG_VERSION)-rc0.. . | wc -l) + include ../build_common.mk include ../packages_common.mk