From 2d02d54cce38a7a556c38ccd1523bbd6ca749b33 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Mon, 25 Nov 2024 11:56:50 +0100 Subject: [PATCH] tools/ocaml: Fix the version embedded in META files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Xen 4.1 is more than a decade stale now. Use the same mechanism as elsewhere in the tree to get the current version number. Signed-off-by: Andrew Cooper Acked-by: Christian Lindig Reviewed-by: Edwin Török master commit: 1965e9a930740b37637ac450f4752fd53edf63c4 master date: 2024-08-23 15:02:27 +0100 --- tools/ocaml/common.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ocaml/common.make b/tools/ocaml/common.make index 708d74617c..cecfc5b6b8 100644 --- a/tools/ocaml/common.make +++ b/tools/ocaml/common.make @@ -14,7 +14,7 @@ CFLAGS += -fPIC -I$(shell ocamlc -where) OCAMLOPTFLAGS = -g -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -w F -warn-error F OCAMLCFLAGS += -g $(OCAMLINCLUDE) -w F -warn-error F -VERSION := 4.1 +VERSION := $(shell $(XEN_ROOT)/version.sh $(XEN_ROOT)/xen/Makefile) OCAMLDESTDIR ?= $(DESTDIR)$(shell $(OCAMLFIND) printconf destdir) -- 2.39.5