diff options
Diffstat (limited to 'scripts/poky-env-internal')
-rwxr-xr-x | scripts/poky-env-internal | 56 |
1 files changed, 35 insertions, 21 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index 5250e5f545..f425bab079 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal | |||
@@ -62,13 +62,17 @@ if [ "x" = "x$POKYLOCALCONF" ]; then | |||
62 | POKYLOCALCONF="$OEROOT/meta/conf/local.conf.sample" | 62 | POKYLOCALCONF="$OEROOT/meta/conf/local.conf.sample" |
63 | fi | 63 | fi |
64 | if ! (test -r "$BUILDDIR/conf/local.conf"); then | 64 | if ! (test -r "$BUILDDIR/conf/local.conf"); then |
65 | echo "You had no conf/local.conf file. Poky has created this configuration file for you" | 65 | cat <<EOM |
66 | echo "with some default values. You may wish to edit it to use a different MACHINE (target" | 66 | You had no conf/local.conf file. Poky has created this configuration file for |
67 | echo "hardware) or enable parallel build options to take advantage of multiple cores for" | 67 | you with some default values. You may wish to edit it to use a different MACHINE |
68 | echo "example. See the file for more information as common configuration options are commented." | 68 | (target hardware) or enable parallel build options to take advantage of multiple |
69 | echo | 69 | cores for example. See the file for more information as common configuration |
70 | echo "Also, for more information see the Poky handbook: http://pokylinux.org/doc/poky-handbook.html" | 70 | options are commented. |
71 | echo | 71 | |
72 | Also, for more information see the Poky handbook: | ||
73 | http://pokylinux.org/doc/poky-handbook.html | ||
74 | |||
75 | EOM | ||
72 | cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf | 76 | cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf |
73 | fi | 77 | fi |
74 | 78 | ||
@@ -76,12 +80,15 @@ if [ "x" = "x$POKYLAYERCONF" ]; then | |||
76 | POKYLAYERCONF="$OEROOT/meta/conf/bblayers.conf.sample" | 80 | POKYLAYERCONF="$OEROOT/meta/conf/bblayers.conf.sample" |
77 | fi | 81 | fi |
78 | if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then | 82 | if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then |
79 | echo "You had no conf/bblayers.conf file. Poky has created this configuration file for you" | 83 | cat <<EOM |
80 | echo "with some default values. To add additional metadata layers into your configuration please" | 84 | You had no conf/bblayers.conf file. Poky has created this configuration file for |
81 | echo "add entries to this file." | 85 | you with some default values. To add additional metadata layers into your |
82 | echo | 86 | configuration please add entries to this file. |
83 | echo "For more information see the Poky handbook: http://pokylinux.org/doc/poky-handbook.html" | 87 | |
84 | echo | 88 | For more information see the Poky handbook: |
89 | http://pokylinux.org/doc/poky-handbook.html | ||
90 | |||
91 | EOM | ||
85 | 92 | ||
86 | # Put the abosolute path to the layers in bblayers.conf so we can run | 93 | # Put the abosolute path to the layers in bblayers.conf so we can run |
87 | # bitbake without the init script after the first run | 94 | # bitbake without the init script after the first run |
@@ -109,13 +116,20 @@ unset PYTHONPATH | |||
109 | # Don't allow custom GConf schema paths to get into the system | 116 | # Don't allow custom GConf schema paths to get into the system |
110 | unset GCONF_SCHEMA_INSTALL_SOURCE | 117 | unset GCONF_SCHEMA_INSTALL_SOURCE |
111 | 118 | ||
112 | echo | 119 | cat <<EOM |
113 | echo "### Shell environment set up for Poky builds. ###" | 120 | |
114 | echo | 121 | ### Shell environment set up for Poky builds. ### |
115 | echo "You can now run 'bitbake <target>'" | 122 | |
116 | echo | 123 | You can now run 'bitbake <target>' |
117 | echo "Common targets are poky-image-minimal, poky-image-sato, meta-toolchain or meta-toolchain-sdk" | 124 | |
118 | echo | 125 | Common targets are: |
119 | echo "You can also run generated qemu images with a command like 'runqemu qemux86'" | 126 | poky-image-minimal |
127 | poky-image-sato | ||
128 | meta-toolchain | ||
129 | meta-toolchain-sdk | ||
130 | |||
131 | You can also run generated qemu images with a command like 'runqemu qemux86' | ||
132 | |||
133 | EOM | ||
120 | 134 | ||
121 | export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC OEROOT http_proxy ftp_proxy https_proxy no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS GIT_PROXY_COMMAND" | 135 | export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC OEROOT http_proxy ftp_proxy https_proxy no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS GIT_PROXY_COMMAND" |