aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorBrandon Maier <brandon.maier@collins.com>2023-08-01 23:45:55 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2023-08-06 14:53:29 +1000
commit0f5864567745c50e481b132538969b87259891e3 (patch)
tree3db6485a75f8f1e4aa1ffa35dea5e319cc996c18 /meson.build
parent38165954c13bdc0efe40593c252de418e6521fe2 (diff)
downloaddtc-0f5864567745c50e481b132538969b87259891e3.zip
dtc-0f5864567745c50e481b132538969b87259891e3.tar.gz
dtc-0f5864567745c50e481b132538969b87259891e3.tar.bz2
move release version into VERSION.txt
To synchronize the release version of the Makefile and Meson build systems, pull the version info from a shared file. Meson requires that the shared library version follow the X.Y.Z numbering scheme. But the Makefile supported building shared libraries with an EXTRAVERSION appended, for example X.Y.Z-rc1. We want to keep the output of both systems the same to avoid issues, so we drop support for the Makefile EXTRAVERSION. Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 8f5fea5..17cb135 100644
--- a/meson.build
+++ b/meson.build
@@ -1,8 +1,8 @@
project('dtc', 'c',
- version: '1.7.0',
+ version: files('VERSION.txt'),
license: ['GPL2+', 'BSD-2'],
default_options: 'werror=true',
- meson_version: '>=0.56.0'
+ meson_version: '>=0.57.0'
)
cc = meson.get_compiler('c')