diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-06-10 15:51:36 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-06-10 15:51:36 +0100 |
commit | d92a12f7611c569603ce797954ad69d9a0ca2b6b (patch) | |
tree | 3e9d1fd869e43ac7b144b46e255b582965e28c31 /scripts | |
parent | b5a370970f8b7a28255032aec70813520e15aaff (diff) | |
download | poky-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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-env-internal | 14 |
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" |
95 | fi | 95 | fi |
96 | if ! (test -r "$BUILDDIR/conf/local.conf"); then | 96 | if ! (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 |
98 | fi | 105 | fi |
99 | 106 | ||
@@ -127,6 +134,11 @@ unset GCONF_SCHEMA_INSTALL_SOURCE | |||
127 | 134 | ||
128 | echo | 135 | echo |
129 | echo "### Shell environment set up for Poky builds. ###" | 136 | echo "### Shell environment set up for Poky builds. ###" |
130 | echo | 137 | echo |
138 | echo "You can now run 'bitbake <target>" | ||
139 | echo | ||
140 | echo "Common targets are poky-image-minimal, poky-image-sato, meta-toolchain or meta-toolchain-sdk" | ||
141 | echo | ||
142 | echo "You can also run generated qemu images with a command like 'runqemu qemux86'" | ||
131 | 143 | ||
132 | 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" | 144 | 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" |