AnsweredAssumed Answered

How to initialize yocto build environment above a initialized project?

Question asked by Wen Fu on Apr 26, 2020
Latest reply on Apr 27, 2020 by Wen Fu

The step when you first do this:

repo init


repo sync

DISTRO=fsl-imx-xwayland MACHINE=imx8mqevk source -b build-xwayland
bitbake xxx
But when you have done the above and exit the console then open a new console what is the right steps?
I need to run "DISTRO=fsl-imx-xwayland MACHINE=imx8mqevk source -b build-xwayland" again to setup the environment variables. It looks good but the changes I have made to conf/local.conf have been overwritten, which is not a good way to do.
The question is how to do it gracefully and keep the things I have done before and set the environment variables correctly?