[PATCH v2 1/2] build: fix list_dir_globs failure in MSYS2
Thomas Monjalon
thomas at monjalon.net
Wed Oct 11 17:27:22 CEST 2023
20/09/2023 16:18, Ric Li:
> When running 'meson setup' on Windows with MSYS2,
> "list-dir-globs.py * failed with status 1".
We don't know why it is failing?
What about other usages of list_dir_globs in drivers and lib?
> Avoid using globbing to get components for app build
> since they are already listed in the meson file.
I don't understand the logic.
> +disable_apps = ',' + get_option('disable_apps')
> +disable_apps = run_command(list_dir_globs, disable_apps, check: true).stdout().split()
This could fail.
> +
> +enable_apps = ',' + get_option('enable_apps')
> +enable_apps = run_command(list_dir_globs, enable_apps, check: true).stdout().split()
> +if enable_apps.length() == 0
> + enable_apps = apps
> +endif
If nothing is enabled, we enable all?
More information about the dev
mailing list