Go to file
Robert Yang 2a708dec24 oe-init-build-env: Error out when failed to locate cwd
Ubuntu's /bin/sh symlinks to /bin/dash by default, so
subprocess.check_call(oe-init-build-env, cwd=builddir) would be failed since
pwd is builddir, and there is no $builddir/oe-init-build-env, this would
lead to other confusing errors, check and error it out earlier to make it
easier to locate the problem.

We don't meet the problem when manually run ". oe-init-build-env" is because
Ubuntu's default login shell is bash, but subprocess.check_call() doesn't
respect to login shell, so the error only happens in situations like
subprocess.check_call().

And also print errors to stderr as oe-buildenv-internal does.

(From OE-Core rev: aa4d86ff55b01d150f49b5b4517b0c661a10c36b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 00:31:48 +01:00
bitbake bitbake: gitsm: The fetcher did not process some recursive submodules properly. 2019-03-24 16:42:22 +00:00
documentation overview-manual: Fixed broken link to pseudo. 2019-04-09 22:16:00 +01:00
meta python: time.tzset missing 2019-05-22 00:31:48 +01:00
meta-poky poky.conf: Bump version for 2.6.2 thud release 2019-03-26 15:55:23 +00:00
meta-selftest meta-selftest/error: Cleanup large trailing whitespace 2019-01-08 20:14:43 +00:00
meta-skeleton meta-skeleton/meta-selftest: Update to thud 2018-09-25 23:15:49 +01:00
meta-yocto-bsp meta-yocto-bsp: Bump to the latest stable kernel for the non-x86 BSPs 2019-02-06 16:39:00 +00:00
scripts resulttool/manualexecution: Refactor and simplify codebase 2019-04-09 22:15:46 +01:00
.gitignore gitignore: Ignore repo tool directory 2018-10-29 17:26:47 +00:00
.templateconf meta-yocto: Rename to meta-poky to better match its purpose 2016-02-28 11:31:17 +00:00
LICENSE Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
oe-init-build-env oe-init-build-env: Error out when failed to locate cwd 2019-05-22 00:31:48 +01:00
README.hardware meta-yocto: Restructure and tidy up READMEs 2017-09-14 13:36:22 +01:00
README.LSB pax: remove the recipe 2018-02-24 10:31:45 +00:00
README.poky meta-yocto: Restructure and tidy up READMEs 2017-09-14 13:36:22 +01:00
README.qemu README.qemu: qemuppc64 is not supported 2017-10-16 23:54:31 +01:00

QEMU Emulation Targets
======================

To simplify development, the build system supports building images to
work with the QEMU emulator in system emulation mode. Several architectures
are currently supported in 32 and 64 bit variants:

  * ARM (qemuarm + qemuarm64)
  * x86 (qemux86 + qemux86-64)
  * PowerPC (qemuppc only)
  * MIPS (qemumips + qemumips64)

Use of the QEMU images is covered in the Yocto Project Reference Manual.
The appropriate MACHINE variable value corresponding to the target is given
in brackets.