Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

oebb: replace all tabs with 4 spaces for consistency

  • Loading branch information...
commit d9bdbe274fc9d29dfc009d184781e0e47f847625 1 parent c7b71f4
@koenkooi koenkooi authored
Showing with 17 additions and 17 deletions.
  1. +17 −17 oebb.sh
View
34 oebb.sh
@@ -38,11 +38,11 @@ function set_environment()
# If an env already exists, use it, otherwise generate it
#--------------------------------------------------------------------------
if [ -e ~/.oe/environment ] ; then
- echo "Using ~/.oe/environment to setup needed variables. You can do '. ~/.oe/environment' and run 'bitbake something' without using $0 as wrapper"
- . ~/.oe/environment
+ echo "Using ~/.oe/environment to setup needed variables. You can do '. ~/.oe/environment' and run 'bitbake something' without using $0 as wrapper"
+ . ~/.oe/environment
else
- mkdir -p ~/.oe/
+ mkdir -p ~/.oe/
#--------------------------------------------------------------------------
# Specify distribution information
@@ -50,8 +50,8 @@ else
DISTRO="angstrom-2008.1"
DISTRO_DIRNAME=`echo $DISTRO | sed s#[.-]#_#g`
- echo "export DISTRO=\"${DISTRO}\"" > ~/.oe/environment
- echo "export DISTRO_DIRNAME=\"${DISTRO_DIRNAME}\"" >> ~/.oe/environment
+ echo "export DISTRO=\"${DISTRO}\"" > ~/.oe/environment
+ echo "export DISTRO_DIRNAME=\"${DISTRO_DIRNAME}\"" >> ~/.oe/environment
#--------------------------------------------------------------------------
# Specify the root directory for your OpenEmbedded development
@@ -68,14 +68,14 @@ else
echo "export OE_BUILD_TMPDIR=\"${OE_BUILD_TMPDIR}\"" >> ~/.oe/environment
echo "export OE_SOURCE_DIR=\"${OE_SOURCE_DIR}\"" >> ~/.oe/environment
- echo "export OE_BASE=\"${OE_BASE}\"" >> ~/.oe/environment
+ echo "export OE_BASE=\"${OE_BASE}\"" >> ~/.oe/environment
#--------------------------------------------------------------------------
# Include up-to-date bitbake in our PATH.
#--------------------------------------------------------------------------
export PATH=${OE_SOURCE_DIR}/bitbake/bin:${PATH}
- echo "export PATH=\"${PATH}\"" >> ~/.oe/environment
+ echo "export PATH=\"${PATH}\"" >> ~/.oe/environment
#--------------------------------------------------------------------------
# Make sure Bitbake doesn't filter out the following variables from our
@@ -83,7 +83,7 @@ else
#--------------------------------------------------------------------------
export BB_ENV_EXTRAWHITE="MACHINE DISTRO http_proxy ftp_proxy no_proxy GIT_PROXY_COMMAND"
- echo "export BB_ENV_EXTRAWHITE=\"${BB_ENV_EXTRAWHITE}\"" >> ~/.oe/environment
+ echo "export BB_ENV_EXTRAWHITE=\"${BB_ENV_EXTRAWHITE}\"" >> ~/.oe/environment
#--------------------------------------------------------------------------
# Specify proxy information
@@ -95,30 +95,30 @@ else
export SVN_CONFIG_DIR=${OE_BUILD_DIR}/subversion_config
export GIT_CONFIG_DIR=${OE_BUILD_DIR}/git_config
- echo "export http_proxy=\"${http_proxy}\"" >> ~/.oe/environment
- echo "export ftp_proxy=\"${ftp_proxy}\"" >> ~/.oe/environment
- echo "export SVN_CONFIG_DIR=\"${SVN_CONFIG_DIR}\"" >> ~/.oe/environment
- echo "export GIT_CONFIG_DIR=\"${GIT_CONFIG_DIR}\"" >> ~/.oe/environment
+ echo "export http_proxy=\"${http_proxy}\"" >> ~/.oe/environment
+ echo "export ftp_proxy=\"${ftp_proxy}\"" >> ~/.oe/environment
+ echo "export SVN_CONFIG_DIR=\"${SVN_CONFIG_DIR}\"" >> ~/.oe/environment
+ echo "export GIT_CONFIG_DIR=\"${GIT_CONFIG_DIR}\"" >> ~/.oe/environment
config_svn_proxy
config_git_proxy
- fi
+ fi
#--------------------------------------------------------------------------
# Set up the bitbake path to find the OpenEmbedded recipes.
#--------------------------------------------------------------------------
export BBPATH=${OE_BUILD_DIR}:${OE_SOURCE_DIR}/org.openembedded.dev${BBPATH_EXTRA}
- echo "export BBPATH=\"${BBPATH}\"" >> ~/.oe/environment
+ echo "export BBPATH=\"${BBPATH}\"" >> ~/.oe/environment
- #--------------------------------------------------------------------------
+ #--------------------------------------------------------------------------
# Reconfigure dash
#--------------------------------------------------------------------------
if [ $(readlink /bin/sh) = "dash" ] ; then
sudo dpkg-reconfigure dash
fi
- echo "There now is a sourceable script in ~/.oe/enviroment. You can do '. ~/.oe/environment' and run 'bitbake something' without using $0 as wrapper"
+ echo "There now is a sourceable script in ~/.oe/enviroment. You can do '. ~/.oe/environment' and run 'bitbake something' without using $0 as wrapper"
fi # if -e ~/.oe/environment
}
@@ -160,7 +160,7 @@ function oe_config()
config_oe
echo ""
- echo "Setup for ${CL_MACHINE} completed"
+ echo "Setup for ${CL_MACHINE} completed"
}
Please sign in to comment.
Something went wrong with that request. Please try again.