mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-15 06:17:16 +00:00
The 1.4x releases are cut on the "develop" branch,
Add UPSTREAM_CHECK_GITTAGREGEX to keep the version check sane.
The release needs a few adjustments beyond the version bump:
* linux/DtaLinux.cpp now includes <systemd/sd-device.h> and
<nvme/types.h> unconditionally, and Makefile.am hardcodes
LDADD = -lsystemd, with no non-systemd fallback. Add the systemd and
libnvme dependencies (matching the package list in the BUILDING file)
and require the systemd distro feature.
* Makefile.am declares .INTERMEDIATE, which automake defines itself in
distdir.am, and configure.ac uses AM_INIT_AUTOMAKE([-Wall -Werror]),
so autoreconf fails with automake 1.19:
automake: warnings are treated as errors
Makefile.am:152: warning: user target '.INTERMEDIATE' defined here ...
.../am/distdir.am: ... overrides Automake target '.INTERMEDIATE' defined here
Add a patch dropping the declaration.
* Clear WERROR so that upstream's -Werror does not turn new compiler
diagnostics into build failures. clang 23 enables -Wunused-template,
which fires on the deliberately unused sd_device_new_from_devname()
SFINAE fallback.
* Generate linux/Version.h up front instead of letting Makefile.am run
"git describe --dirty", which needs git at build time and reports
"1.49.13-dirty" because do_patch leaves the tree modified.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>