mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools/ocaml: Fix the version embedded in META files
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 <andrew.cooper3@citrix.com>
Acked-by: Christian Lindig <christian.lindig@cloud.com>
Reviewed-by: Edwin Török <edwin.torok@cloud.com>
master commit: 1965e9a930
master date: 2024-08-23 15:02:27 +0100
This commit is contained in:
1 parent
60acdb3ab5
commit
5c61467f16
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||