summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-06-10 15:51:36 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-06-10 15:51:36 +0100
commitd92a12f7611c569603ce797954ad69d9a0ca2b6b (patch)
tree3e9d1fd869e43ac7b144b46e255b582965e28c31
parentb5a370970f8b7a28255032aec70813520e15aaff (diff)
downloadpoky-d92a12f7611c569603ce797954ad69d9a0ca2b6b.tar.gz
poky-evn-internal: Add some documentation about the config file and commonly used build targets
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rwxr-xr-xscripts/poky-env-internal14
1 files changed, 13 insertions, 1 deletions
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
94 POKYLOCALCONF="$BUILDDIR/conf/local.conf.sample" 94 POKYLOCALCONF="$BUILDDIR/conf/local.conf.sample"
95fi 95fi
96if ! (test -r "$BUILDDIR/conf/local.conf"); then 96if ! (test -r "$BUILDDIR/conf/local.conf"); then
97 echo "You had no conf/local.conf file. Poky has created this configuration file for you"
98 echo "with some default values. You may wish to edit it to use a different MACHINE (target"
99 echo "hardware) or enable parallel build options to take advantage of multiple cores for"
100 echo "example. See the file for more information as common configuration options are commented."
101 echo
102 echo "Also, for more information see the Poky handbook: http://pokylinux.org/doc/poky-handbook.html"
103 echo
97 cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf 104 cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf
98fi 105fi
99 106
@@ -127,6 +134,11 @@ unset GCONF_SCHEMA_INSTALL_SOURCE
127 134
128echo 135echo
129echo "### Shell environment set up for Poky builds. ###" 136echo "### Shell environment set up for Poky builds. ###"
130echo 137echo
138echo "You can now run 'bitbake <target>"
139echo
140echo "Common targets are poky-image-minimal, poky-image-sato, meta-toolchain or meta-toolchain-sdk"
141echo
142echo "You can also run generated qemu images with a command like 'runqemu qemux86'"
131 143
132export 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" 144export 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"