|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
# Poky Build Enviroment Setup Script
|
|
|
|
|
# OE Build Enviroment Setup Script
|
|
|
|
|
#
|
|
|
|
|
# Copyright (C) 2006-2007 OpenedHand Ltd.
|
|
|
|
|
# Copyright (C) 2006-2011 Linux Foundation
|
|
|
|
|
#
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
@ -44,7 +44,7 @@ if [ "x" != "x$TEMPLATECONF" ]; then
|
|
|
|
|
if ! (test -d "$TEMPLATECONF"); then
|
|
|
|
|
# Allow TEMPLATECONF=meta-xyz/conf as a shortcut
|
|
|
|
|
if [ -d "$OEROOT/$TEMPLATECONF" ]; then
|
|
|
|
|
TEMPLATECONF="$OEROOT/$POKYCONF"
|
|
|
|
|
TEMPLATECONF="$OEROOT/$TEMPLATECONF"
|
|
|
|
|
fi
|
|
|
|
|
if ! (test -d "$TEMPLATECONF"); then
|
|
|
|
|
echo >&2 "Error: '$TEMPLATECONF' must be a directory containing local.conf & bblayers.conf"
|
|
|
|
@ -60,15 +60,19 @@ if [ "x" = "x$OECORELOCALCONF" ]; then
|
|
|
|
|
fi
|
|
|
|
|
if ! (test -r "$BUILDDIR/conf/local.conf"); then
|
|
|
|
|
cat <<EOM
|
|
|
|
|
You had no conf/local.conf file. Poky has created this configuration file for
|
|
|
|
|
you with some default values. You may wish to edit it to use a different MACHINE
|
|
|
|
|
(target hardware) or enable parallel build options to take advantage of multiple
|
|
|
|
|
cores for example. See the file for more information as common configuration
|
|
|
|
|
options are commented.
|
|
|
|
|
|
|
|
|
|
Also, for more information see the Poky Reference Manual:
|
|
|
|
|
You had no conf/local.conf file. This configuration file has therefore beend
|
|
|
|
|
created for you with some default values. You may wish to edit it to use a
|
|
|
|
|
different MACHINE (target hardware) or enable parallel build options to take
|
|
|
|
|
advantage of multiple cores for example. See the file for more information as
|
|
|
|
|
common configuration options are commented.
|
|
|
|
|
|
|
|
|
|
The Yocto Project has extensive documentation about OE including a reference manual
|
|
|
|
|
which can be found at:
|
|
|
|
|
http://yoctoproject.org/community/documentation
|
|
|
|
|
|
|
|
|
|
For more information about OpenEmbedded see their website:
|
|
|
|
|
http://www.openembedded.org/
|
|
|
|
|
|
|
|
|
|
EOM
|
|
|
|
|
cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf
|
|
|
|
|
fi
|
|
|
|
@ -78,13 +82,18 @@ if [ "x" = "x$OECORELAYERCONF" ]; then
|
|
|
|
|
fi
|
|
|
|
|
if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
|
|
|
|
|
cat <<EOM
|
|
|
|
|
You had no conf/bblayers.conf file. Poky has created this configuration file for
|
|
|
|
|
You had no conf/bblayers.conf file. The configuration file has been created for
|
|
|
|
|
you with some default values. To add additional metadata layers into your
|
|
|
|
|
configuration please add entries to this file.
|
|
|
|
|
|
|
|
|
|
For more information see the Poky Reference Manual:
|
|
|
|
|
The Yocto Project has extensive documentation about OE including a reference manual
|
|
|
|
|
which can be found at:
|
|
|
|
|
http://yoctoproject.org/community/documentation
|
|
|
|
|
|
|
|
|
|
For more information about OpenEmbedded see their website:
|
|
|
|
|
http://www.openembedded.org/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EOM
|
|
|
|
|
|
|
|
|
|
# Put the abosolute path to the layers in bblayers.conf so we can run
|
|
|
|
@ -98,7 +107,7 @@ unset OECORELAYERCONF
|
|
|
|
|
|
|
|
|
|
cat <<EOM
|
|
|
|
|
|
|
|
|
|
### Shell environment set up for Poky builds. ###
|
|
|
|
|
### Shell environment set up for builds. ###
|
|
|
|
|
|
|
|
|
|
You can now run 'bitbake <target>'
|
|
|
|
|
|
|
|
|
|