Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: allow building from shallow clones #122

Closed
wants to merge 1 commit into from
Closed

meson: allow building from shallow clones #122

wants to merge 1 commit into from

Commits on Dec 16, 2023

  1. meson: allow building from shallow clones

    When building from shallow clone, tag is not available
    and version defaults to git hash.
    Problem is that some builds check DTC version and fail the comparison.
    Example is https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git
    Which fails to build with following error:
    dtc version too old (039a994), you need at least version 1.4.4
    
    Drop --always from git describe command, see
    https://github.com/mesonbuild/meson/blob/1.3.0/mesonbuild/utils/universal.py#L773
    This will make it more closer to build via Makefile.
    
    Signed-off-by: Peter Marko <[email protected]>
    petermarko committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    baa8db1 View commit details
    Browse the repository at this point in the history