From: Andrew Cooper Date: Mon, 13 Dec 2021 17:50:48 +0000 (+0000) Subject: tools/libfsimage: Fix SONAME X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~1232 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d828caa9aeee80c59a35f662f875f6573e9b532f;p=xen.git tools/libfsimage: Fix SONAME This gets missed on each release. Follow the same example as libs.mk and pick the version up dynamically. Fixes: a5706b80f42e ("Set version to 4.17: rerun autogen.sh") Suggested-by: Anthony PERARD Signed-off-by: Andrew Cooper Acked-by: Anthony PERARD --- diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile index 24bc90e73e..0c5a34baea 100644 --- a/tools/libfsimage/common/Makefile +++ b/tools/libfsimage/common/Makefile @@ -1,7 +1,7 @@ XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/libfsimage/Rules.mk -MAJOR = 4.16 +MAJOR := $(shell $(XEN_ROOT)/version.sh $(XEN_ROOT)/xen/Makefile) MINOR = 0 LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS