1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-12 04:41:26 +04:00

ufbt: deploying sample ufbt automation for new apps; added source "ufbt -s env" for toolchain access (#2648)

This commit is contained in:
hedger
2023-05-08 14:01:52 +03:00
committed by GitHub
parent 954780ed24
commit f7dd77795a
7 changed files with 66 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ To use `fbt`, you only need `git` installed in your system.
> However, if you wish to use tools supplied with the toolchain outside `fbt`, you can open an *fbt shell*, with properly configured environment.
> - On Windows, simply run `scripts/toolchain/fbtenv.cmd`.
> - On Linux & MacOS, run `source scripts/toolchain/fbtenv.sh` in a new shell.
> - You can also type ```. `./fbt -s env` ``` in your shell. (Keep the "." at the beginning.)
If your system is not supported by pre-built toolchain variants or you want to use custom versions of dependencies, you can `set FBT_NOENV=1`. `fbt` will skip toolchain & environment configuration and will expect all tools to be available on your system's `PATH`. *(this option is not available on Windows)*