[Toybox] [PATCH] modinfo: add built_with to the list of tags

Ulises Mendez Martinez umendez at google.com
Thu Oct 16 03:11:24 PDT 2025


Following the contribution guidelines:

> If I haven't responded to your patch after one week, feel free to remind me of it.

Thank you

On Thu, Oct 2, 2025 at 4:40 PM Ulises Mendez Martinez
<umendez at google.com> wrote:
>
> The built_with tag is used by the Android kernel for
> kernel modules built with the Driver Development Kit.
>
> See http://r.android.com/3347111
> ---
>  toys/other/modinfo.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/toys/other/modinfo.c b/toys/other/modinfo.c
> index 5a94a4fd45bb..0a6d65775a22 100644
> --- a/toys/other/modinfo.c
> +++ b/toys/other/modinfo.c
> @@ -44,7 +44,7 @@ static void modinfo_file(char *full_name)
>    char *buf = 0, *end, *modinfo_tags[] = {
>      "license", "author", "description", "firmware", "alias", "srcversion",
>      "depends", "retpoline", "intree", "name", "vermagic", "parm", "parmtype",
> -    "scmversion",
> +    "scmversion", "built_with",
>    };
>
>    if (-1 != (fd = open(full_name, O_RDONLY))) {
> --
> 2.51.0.618.g983fd99d29-goog
>


More information about the Toybox mailing list