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

env2mfile: Generalize handling of architecture-prefixed tools on Debian derivatives #13721

Merged
merged 4 commits into from
Oct 21, 2024

Commits on Oct 2, 2024

  1. env2mfile: Generalize detection of pkg-config to have a list of tools

    Cross-tools on Debian generally follow the naming convention set by
    Autotools AC_CHECK_TOOL, where the name is prefixed with the GNU
    architecture tuple for the host architecture. env2mfile was already
    using this for pkg-config, but there are many other tools that can
    be detected in the same way.
    
    Signed-off-by: Simon McVittie <[email protected]>
    smcv committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    af50ab9 View commit details
    Browse the repository at this point in the history
  2. env2mfile: Use Debian cross-prefixed GObject-Introspection tools

    In Debian testing/unstable, there are wrappers available for various
    GObject-Introspection tools during cross-builds, using qemu internally.
    
    Signed-off-by: Simon McVittie <[email protected]>
    smcv committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    77b46ab View commit details
    Browse the repository at this point in the history
  3. env2mfile: Automatically set exe_wrapper on Debian if possible

    Recent versions of the architecture-properties package provide a
    cross-exe-wrapper package containing
    ${DEB_HOST_GNU_TYPE}-cross-exe-wrapper, which is currently a wrapper
    around qemu-user but could use different emulators on each architecture
    if it becomes necessary in the future.
    
    Signed-off-by: Simon McVittie <[email protected]>
    smcv committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    0b6a1cd View commit details
    Browse the repository at this point in the history
  4. env2mfile: Use a cross valac on Debian if possible

    This is functionally equivalent to the logic used to locate the cross
    exe_wrapper, but puts it below the "Compilers" heading rather than
    "Other binaries".
    
    Signed-off-by: Simon McVittie <[email protected]>
    smcv committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    8db2d78 View commit details
    Browse the repository at this point in the history