]> code.ossystems Code Review - openembedded-core.git/commit
toolchain-scripts.bbclass: customize prompt string for SDKs
authorKai Kang <kai.kang@windriver.com>
Mon, 1 Mar 2021 14:16:33 +0000 (22:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Mar 2021 15:24:10 +0000 (15:24 +0000)
commit81ed52f245c18c50e8df51fce1f62906cd4ddd05
tree44472a4a74cd9d30d53fae824cacfb26117391c5
parent1d19b16846a70b1180647e85f124e314002a4b83
toolchain-scripts.bbclass: customize prompt string for SDKs

Introduce a new variable SDK_PS1 to customize prompt string for SDKs
when source script environment-setup-script. If variable SDK_PS1 is not
set or empty, nothing changed. Otherwise new PS1 with the value of
SDK_PS1 is used after source the sdk environment file.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toolchain-scripts.bbclass