From d92a12f7611c569603ce797954ad69d9a0ca2b6b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 10 Jun 2010 15:51:36 +0100 Subject: poky-evn-internal: Add some documentation about the config file and commonly used build targets Signed-off-by: Richard Purdie --- scripts/poky-env-internal | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index c91811d59c..73a356965c 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal @@ -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 " +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" -- cgit 1.2.3-korg