aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2024-11-21 16:00:12 -0500
committerFlorin Coras <florin.coras@gmail.com>2024-11-22 03:45:45 +0000
commit8ba0872f3b501ff77f09e0256bb472af846ef775 (patch)
tree43bffba90335656f62a4e5fc9959f9cd26ce7e1a /build
parent030a5436da0a55f9344fb32df89336c3990e4d28 (diff)
build: separate package suffixes for vpp-ext-deps and vpp-opt-deps
Type: make Change-Id: Icc8b4937ed98474da9d27668318a2a9e3d4a3ae5 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'build')
-rw-r--r--build/build_common.mk1
-rw-r--r--build/external/Makefile2
-rw-r--r--build/optional/Makefile2
3 files changed, 4 insertions, 1 deletions
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