Re: [PATCH v2 1/2] Makefile: deprecate in favor of Meson
Eli Schwartz <[email protected]>
| Newsgroups | org.kernel.vger.devicetree-compiler |
|---|---|
| Message-ID | <[email protected]> |
On 4/30/25 10:56 AM, David Gibson wrote: >> +$(warning WARNING: Building dtc using the Makefile is deprecated, in favor of using the Meson build system instead.) >> +$(warning ) >> +$(warning https://mesonbuild.com) > > For succinctness, I suggest: > > WARNING: Building dtc using make is deprecated in favour of using Meson (https://mesonbuild.com) > > Note that British/Australian spelling is preferred for this project, hence "favour". Yup, sounds reasonable. :) >> +$(warning ) >> +$(warning Use `meson setup builddir/ && ninja -C builddir/` to build, or `meson configure` to see build options.) > > I'd prefer to suggest "meson compile -C builddir" here, rather than > directly invoking ninja, and I'd also like to list "meson test -C > builddir" as the replacement for "make check". As you wish, of course. But note that "meson compile" is a dispatching command that first checks whether the build has been setup using a non-default --backend option instead of the default ninja: - Microsoft msbuild - Apple xcode and then determines which of the three to run. So if you decide to run "meson compile -C builddir/" it will just in turn run, on your behalf, "ninja -C builddir/". It also has the side effect of, if your compiler is MSVC cl.exe, loading vcvarsall.bat before dispatching to ninja, as a workaround for https://github.com/ninja-build/ninja/issues/1610 None of that matters for dtc, I guess. :) -- Eli Schwartz
OpenPGP_signature.asc
(application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEYEETBMCdNmKDQO7/zrFn77VyK9YFAmgSPV1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYw NDExMzA0QzA5RDM2NjI4MzQwRUVGRkNFQjE2N0VGQjU3MjJCRDYACgkQzrFn77Vy K9bQGA//S6T2TlmY92Eba0aryKgKbpfWTzsQMBTbconeB7itOsyJ8pVfPpLwEP7q B2wuyXK8prdjNQblGfAwflMbzTjmP6KIijJizoWFm6dU5WOsZ1Jpmv/0ObUOE+dw 6Cndvk/hApifWS2LRAr28uEVQLSIiTGT77aQc4laHWVzK2m3m3J2LbuMT+KM7EGx 1ERnZcOWP8b7MpaIIxB5mK5j1BNIGZuKN+xucdOCXId9UFV49xaiGEamg5Wt1SLV 7bc1f0qglQSeAddq8FxxMHkYbYc2rOUYdndbipLIK2gdxhH/NDDq+ZXWmonKOXHX T1wPCZzi/qH4XEQ7mVjWNoyJdiUuAIpFLixoL/+fNeZ+qfvUJBFDwtlT0qufe8L7 OxRkmPCNQZeoZKoURwpDQgYFiAj8aqxa5d7cLGZ+MC79g4uLHeKsGLPmKh5+3hwv orb2o6M/tGzCdX/KyXsnrGn6G9iPWgoxpCF8xhg+i0cIg9ow3vioHUV/OZVC2Hjs pKK2rcaUfxYLxkxvIls0BUSp236nKYi+IwJzr9xVvmN4I2/nTjsV0dIJkoG+ItpW 5QcYEbTrA6rbi9YSrP6HLl3Qw3fhBr6PIx6/wiQwHb7/ZkyhSZvHV6G0YZug/gDM nwfdA89sACmaJVcSiy5x0iO3kFYy0IG/6FK3xKYlYg60CS0Yvs8= =GwZh -----END PGP SIGNATURE-----