poky-evn-internal: Add some documentation about the config file and commonly used build targets

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-06-10 15:51:36 +01:00
parent b5a370970f
commit d92a12f761
1 changed files with 13 additions and 1 deletions

View File

@ -94,6 +94,13 @@ if [ "x" = "x$POKYLOCALCONF" ]; then
POKYLOCALCONF="$BUILDDIR/conf/local.conf.sample"
fi
if ! (test -r "$BUILDDIR/conf/local.conf"); then
echo "You had no conf/local.conf file. Poky has created this configuration file for you"
echo "with some default values. You may wish to edit it to use a different MACHINE (target"
echo "hardware) or enable parallel build options to take advantage of multiple cores for"
echo "example. See the file for more information as common configuration options are commented."
echo
echo "Also, for more information see the Poky handbook: http://pokylinux.org/doc/poky-handbook.html"
echo
cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf
fi
@ -127,6 +134,11 @@ unset GCONF_SCHEMA_INSTALL_SOURCE
echo
echo "### Shell environment set up for Poky builds. ###"
echo
echo
echo "You can now run 'bitbake <target>"
echo
echo "Common targets are poky-image-minimal, poky-image-sato, meta-toolchain or meta-toolchain-sdk"
echo
echo "You can also run generated qemu images with a command like 'runqemu qemux86'"
export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC OEROOT http_proxy ftp_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS"