diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2022-12-09 15:26:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 15:26:06 +0200 |
commit | 2ec3fe7a4af5bd4d8a83947d675f9233805f3dfd (patch) | |
tree | 57c5fa9c668d8488042a6b71282c1035996cce0e /docs/markdown/snippets | |
parent | 7b2c47eb45e7a5b4787e89a6b6f98a8753868d1a (diff) | |
parent | 09cbc53f57f63709c952333fe7d7950926dff7b7 (diff) | |
download | meson-2ec3fe7a4af5bd4d8a83947d675f9233805f3dfd.zip meson-2ec3fe7a4af5bd4d8a83947d675f9233805f3dfd.tar.gz meson-2ec3fe7a4af5bd4d8a83947d675f9233805f3dfd.tar.bz2 |
Merge pull request #10990 from xclaesse/devenv
devenv: various improvements
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/devenv.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/markdown/snippets/devenv.md b/docs/markdown/snippets/devenv.md new file mode 100644 index 0000000..d8a38ba --- /dev/null +++ b/docs/markdown/snippets/devenv.md @@ -0,0 +1,15 @@ +## Developer environment improvements + +When cross compiling, the developer environment now sets all environment +variables for the HOST machine. It now also sets `QEMU_LD_PREFIX` to the +`sys_root` value from cross file if property is defined. That means that cross +compiled executables can often be run transparently on the build machine, for +example when cross compiling for aarch64 linux from x86_64 linux. + +A new argument `--workdir` has been added, by default it is set to build +directory. For example, `meson devenv -C builddir --workdir .` can be used to +remain in the current dir (often source dir) instead. + +`--dump` now prints shell commands like `FOO="/prepend/path:$FOO:/append/path"`, +using the litteral `$FOO` instead of current value of `FOO` from environment. +This makes easier to evaluate those expressions in a different environment. |