Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 388 lines (324 sloc) 13.35 kb
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
1 #!/bin/bash
2
3 # Original script done by Don Darling
4 # Later changes by Koen Kooi and Brijesh Singh
5
6 # Revision history:
108c034 Koen Kooi oebb: switch to git managed local.conf
koenkooi authored
7 # 20090902: download from twiki
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
8 # 20090903: Weakly assign MACHINE and DISTRO
9 # 20090904: * Don't recreate local.conf is it already exists
10 # * Pass 'unknown' machines to OE directly
11 # 20090918: Fix /bin/env location
12 # Don't pass MACHINE via env if it's not set
13 # Changed 'build' to 'bitbake' to prepare people for non-scripted usage
14 # Print bitbake command it executes
15 # 20091012: Add argument to accept commit id.
16 # 20091202: Fix proxy setup
7de547c Koen Kooi oebb: don't generate mirror tarballs by default
koenkooi authored
17 #
18 # For further changes consult 'git log' or browse to:
108c034 Koen Kooi oebb: switch to git managed local.conf
koenkooi authored
19 # http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/setup-scripts/
7de547c Koen Kooi oebb: don't generate mirror tarballs by default
koenkooi authored
20 # to see the latest revision history
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
21
22 ###############################################################################
23 # User specific vars like proxy servers
24 ###############################################################################
25
26 #PROXYHOST=wwwgate.ti.com
27 #PROXYPORT=80
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
28 PROXYHOST=""
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
29
30 ###############################################################################
31 # OE_BASE - The root directory for all OE sources and development.
32 ###############################################################################
33 OE_BASE=${PWD}
34
35 ###############################################################################
36 # SET_ENVIRONMENT() - Setup environment variables for OE development
37 ###############################################################################
38 function set_environment()
39 {
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
40
03810d5 Koen Kooi oebb: work with bitbake master
koenkooi authored
41 # Workaround for differences between yocto bitbake and vanilla bitbake
42 export BBFETCH2=True
43
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
44 #--------------------------------------------------------------------------
45 # If an env already exists, use it, otherwise generate it
46 #--------------------------------------------------------------------------
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
47 if [ -e ~/.oe/environment-oecore ] ; then
48 . ~/.oe/environment-oecore
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
49 else
50
d9bdbe2 Koen Kooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
51 mkdir -p ~/.oe/
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
52
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
53 #--------------------------------------------------------------------------
54 # Specify distribution information
55 #--------------------------------------------------------------------------
704f77d Koen Kooi oebb: integrate angstrom into the yoctoproject as a layer
koenkooi authored
56 DISTRO="angstrom-2010.x"
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
57 DISTRO_DIRNAME=`echo $DISTRO | sed s#[.-]#_#g`
58
03810d5 Koen Kooi oebb: work with bitbake master
koenkooi authored
59 echo "export BBFETCH2=True" > ~/.oe/environment-oecore
60
61 echo "export DISTRO=\"${DISTRO}\"" >> ~/.oe/environment-oecore
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
62 echo "export DISTRO_DIRNAME=\"${DISTRO_DIRNAME}\"" >> ~/.oe/environment-oecore
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
63
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
64 #--------------------------------------------------------------------------
65 # Specify the root directory for your OpenEmbedded development
66 #--------------------------------------------------------------------------
67 OE_BUILD_DIR=${OE_BASE}/build
68 OE_BUILD_TMPDIR="${OE_BUILD_DIR}/tmp-${DISTRO_DIRNAME}"
69 OE_SOURCE_DIR=${OE_BASE}/sources
448286d Koen Kooi oebb: add some missing vars to environment script, reported by Gregg Leb...
koenkooi authored
70
559117d Koen Kooi oebb: catch up with yocto bitbake wrapper usage for pseude
koenkooi authored
71 export BUILDDIR=${OE_BUILD_DIR}
72
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
73 mkdir -p ${OE_BUILD_DIR}
74 mkdir -p ${OE_SOURCE_DIR}
75 export OE_BASE
76
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
77 echo "export OE_BUILD_DIR=\"${OE_BUILD_DIR}\"" >> ~/.oe/environment-oecore
78 echo "export BUILDDIR=\"${OE_BUILD_DIR}\"" >> ~/.oe/environment-oecore
79 echo "export OE_BUILD_TMPDIR=\"${OE_BUILD_TMPDIR}\"" >> ~/.oe/environment-oecore
80 echo "export OE_SOURCE_DIR=\"${OE_SOURCE_DIR}\"" >> ~/.oe/environment-oecore
448286d Koen Kooi oebb: add some missing vars to environment script, reported by Gregg Leb...
koenkooi authored
81
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
82 echo "export OE_BASE=\"${OE_BASE}\"" >> ~/.oe/environment-oecore
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
83
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
84 #--------------------------------------------------------------------------
85 # Include up-to-date bitbake in our PATH.
86 #--------------------------------------------------------------------------
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
87 export PATH=${OE_SOURCE_DIR}/openembedded-core/scripts:${OE_SOURCE_DIR}/bitbake/bin:${PATH}
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
88
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
89 echo "export PATH=\"${PATH}\"" >> ~/.oe/environment-oecore
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
90
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
91 #--------------------------------------------------------------------------
92 # Make sure Bitbake doesn't filter out the following variables from our
93 # environment.
94 #--------------------------------------------------------------------------
be691f6 Khem Raj oebb.sh: Export TCLIBC,TCMODE and delete ANGSTROMLIBC
kraj authored
95 export BB_ENV_EXTRAWHITE="MACHINE DISTRO TCLIBC TCMODE GIT_PROXY_COMMAND http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS"
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
96
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
97 echo "export BB_ENV_EXTRAWHITE=\"${BB_ENV_EXTRAWHITE}\"" >> ~/.oe/environment-oecore
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
98
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
99 #--------------------------------------------------------------------------
100 # Specify proxy information
101 #--------------------------------------------------------------------------
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
102 if [ "x$PROXYHOST" != "x" ] ; then
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
103 export http_proxy=http://${PROXYHOST}:${PROXYPORT}/
104 export ftp_proxy=http://${PROXYHOST}:${PROXYPORT}/
105
106 export SVN_CONFIG_DIR=${OE_BUILD_DIR}/subversion_config
107 export GIT_CONFIG_DIR=${OE_BUILD_DIR}/git_config
108
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
109 echo "export http_proxy=\"${http_proxy}\"" >> ~/.oe/environment-oecore
110 echo "export ftp_proxy=\"${ftp_proxy}\"" >> ~/.oe/environment-oecore
111 echo "export SVN_CONFIG_DIR=\"${SVN_CONFIG_DIR}\"" >> ~/.oe/environment-oecore
112 echo "export GIT_CONFIG_DIR=\"${GIT_CONFIG_DIR}\"" >> ~/.oe/environment-oecore
6a43974 Koen Kooi oebb: generate sourceable env file
koenkooi authored
113
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
114 config_svn_proxy
115 config_git_proxy
d9bdbe2 Koen Kooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
116 fi
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
117
118 #--------------------------------------------------------------------------
119 # Set up the bitbake path to find the OpenEmbedded recipes.
120 #--------------------------------------------------------------------------
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
121 export BBPATH=${OE_BUILD_DIR}:${OE_SOURCE_DIR}/openembedded-core/meta${BBPATH_EXTRA}
00a0c9e Jason Kridner Utilize commit ID in updates
jadonk authored
122
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
123 echo "export BBPATH=\"${BBPATH}\"" >> ~/.oe/environment-oecore
00a0c9e Jason Kridner Utilize commit ID in updates
jadonk authored
124
d9bdbe2 Koen Kooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
125 #--------------------------------------------------------------------------
00a0c9e Jason Kridner Utilize commit ID in updates
jadonk authored
126 # Reconfigure dash
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
127 #--------------------------------------------------------------------------
0ed3d15 Koen Kooi oebb.sh: fix autorun logic
koenkooi authored
128 if [ "$(readlink /bin/sh)" = "dash" ] ; then
08a30b2 Jason Kridner Eliminate dash deconfiguration prompt using expect
jadonk authored
129 sudo aptitude install expect -y
130 expect -c 'spawn sudo dpkg-reconfigure -freadline dash; send "n\n"; interact;'
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
131 fi
8f98636 Koen Kooi oebb: add usage note for ~/.oe/environment
koenkooi authored
132
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
133 echo "There now is a sourceable script in ~/.oe/enviroment. You can do '. ~/.oe/environment-oecore' and run 'bitbake something' without using $0 as wrapper"
134 fi # if -e ~/.oe/environment-oecore
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
135 }
136
137
138 ###############################################################################
139 # UPDATE_ALL() - Make sure everything is up to date
140 ###############################################################################
141 function update_all()
142 {
143 set_environment
144 update_oe
145 }
146
be08896 Koen Kooi oebb: add clean command
koenkooi authored
147 ###############################################################################
148 # CLEAN_OE() - Delete TMPDIR
149 ###############################################################################
150 function clean_oe()
151 {
152 set_environment
00a0c9e Jason Kridner Utilize commit ID in updates
jadonk authored
153 echo "Cleaning ${OE_BUILD_TMPDIR}"
154 rm -rf ${OE_BUILD_TMPDIR}
be08896 Koen Kooi oebb: add clean command
koenkooi authored
155 }
156
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
157
158 ###############################################################################
159 # OE_BUILD() - Build an OE package or image
160 ###############################################################################
161 function oe_build()
162 {
108c034 Koen Kooi oebb: switch to git managed local.conf
koenkooi authored
163 if [ ! -e ${OE_BUILD_DIR}/conf/site.conf ] ; then
1631d04 Koen Kooi oebb.sh: if MACHINE is set in env on first invocation autorun the config...
koenkooi authored
164 if [ -z $MACHINE ] ; then
165 echo "No config found, please run $0 config <machine> first"
166 else
167 CL_MACHINE=$MACHINE
0ed3d15 Koen Kooi oebb.sh: fix autorun logic
koenkooi authored
168 set_environment
1240b98 Koen Kooi oebb: re-enable auto updater for the time being
koenkooi authored
169 config_oe && update_all
1631d04 Koen Kooi oebb.sh: if MACHINE is set in env on first invocation autorun the config...
koenkooi authored
170 fi
171 fi
172
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
173 set_environment
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
174 if [ -e ~/.oe/environment-oecore ] ; then
175 echo "Using ~/.oe/environment-oecore to setup needed variables. It is recommended to do '. ~/.oe/environment-oecore' and run 'bitbake something' without using $0 as wrapper"
8161238 Koen Kooi oebb: improve messaging to user
koenkooi authored
176 fi
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
177 cd ${OE_BUILD_DIR}
178 if [ -z $MACHINE ] ; then
179 echo "Executing: bitbake" $*
180 bitbake $*
181 else
182 echo "Executing: MACHINE=${MACHINE} bitbake" $*
183 MACHINE=${MACHINE} bitbake $*
184 fi
185 }
186
187
188 ###############################################################################
00a0c9e Jason Kridner Utilize commit ID in updates
jadonk authored
189 # OE_CONFIG() - Configure OE for a target
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
190 ###############################################################################
191 function oe_config()
192 {
193 set_environment
194 config_oe
1631d04 Koen Kooi oebb.sh: if MACHINE is set in env on first invocation autorun the config...
koenkooi authored
195 update_all
c7b71f4 Koen Kooi oebb: be more verbose about ~/oe/.environment and report when config is ...
koenkooi authored
196
197 echo ""
d9bdbe2 Koen Kooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
198 echo "Setup for ${CL_MACHINE} completed"
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
199 }
200
201 ###############################################################################
202 # UPDATE_OE() - Update OpenEmbedded distribution.
203 ###############################################################################
204 function update_oe()
205 {
e4d6fb8 oebb: protect call to git_proxy setup as well
Gregg Lebovitz authored
206 if [ "x$PROXYHOST" != "x" ] ; then
207 config_git_proxy
208 fi
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
209
20193e2 Koen Kooi oebb: hide stash output, simplify oebb update handling
koenkooi authored
210 #manage meta-openembedded and meta-angstrom with layerman
211 ${OE_BASE}/scripts/layers.awk ${OE_SOURCE_DIR}/layers.txt
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
212 }
213
214
215 ###############################################################################
216 # CONFIG_OE() - Configure OpenEmbedded
217 ###############################################################################
218 function config_oe()
219 {
220 #--------------------------------------------------------------------------
221 # Determine the proper machine name
222 #--------------------------------------------------------------------------
223 case ${CL_MACHINE} in
ab79e04 Jason Kridner Added aliases for the proper board names.
jadonk authored
224 beagle|beagleboard)
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
225 MACHINE="beagleboard"
226 ;;
ab79e04 Jason Kridner Added aliases for the proper board names.
jadonk authored
227 dm6446evm|davinci-evm)
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
228 MACHINE="davinci-dvevm"
229 ;;
230 omap3evm)
231 MACHINE="omap3evm"
232 ;;
ab79e04 Jason Kridner Added aliases for the proper board names.
jadonk authored
233 shiva|omap3517-evm)
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
234 MACHINE="omap3517-evm"
235 ;;
236 *)
237 echo "Unknown machine ${CL_MACHINE}, passing it to OE directly"
238 MACHINE="${CL_MACHINE}"
239 ;;
240 esac
241
242 #--------------------------------------------------------------------------
243 # Write out the OE bitbake configuration file.
244 #--------------------------------------------------------------------------
245 mkdir -p ${OE_BUILD_DIR}/conf
246
f8ca6dd Víctor Manuel Jáquez Leal oebb: add bblayers.conf
ceyusa authored
247 if [ ! -e ${OE_BUILD_DIR}/conf/bblayers.conf ]; then
248 cat > ${OE_BUILD_DIR}/conf/bblayers.conf <<_EOF
249 # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
250 # changes incompatibly
704f77d Koen Kooi oebb: integrate angstrom into the yoctoproject as a layer
koenkooi authored
251 LCONF_VERSION = "3"
f8ca6dd Víctor Manuel Jáquez Leal oebb: add bblayers.conf
ceyusa authored
252
253 BBFILES ?= ""
3cb4cab Koen Kooi oebb.sh: remote marmita reference for the time being and add some more i...
koenkooi authored
254
255 # Add your overlay location to BBLAYERS
256 # Make sure to have a conf/layers.conf in there
7641f69 Víctor Manuel Jáquez Leal oebb.sh: cosmetic the bblayers.conf output
ceyusa authored
257 BBLAYERS = " \\
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
258 ${OE_SOURCE_DIR}/openembedded-core/meta \\
8a9a1ad Koen Kooi oebb: tweak layerman
koenkooi authored
259 ${OE_SOURCE_DIR}/meta-angstrom \\
2c81181 Koen Kooi oebb: catch up with meta-oe move
koenkooi authored
260 ${OE_SOURCE_DIR}/meta-openembedded/meta-oe \\
165d9e3 oebb.sh : fix extra / in layers configuration
Graeme Gregory authored
261 ${OE_SOURCE_DIR}/meta-texasinstruments \\
f8ca6dd Víctor Manuel Jáquez Leal oebb: add bblayers.conf
ceyusa authored
262 "
263 _EOF
264 fi
265
108c034 Koen Kooi oebb: switch to git managed local.conf
koenkooi authored
266 # There's no need to rewrite site.conf when changing MACHINE
267 if [ ! -e ${OE_BUILD_DIR}/conf/site.conf ]; then
268 cat > ${OE_BUILD_DIR}/conf/site.conf <<_EOF
704f77d Koen Kooi oebb: integrate angstrom into the yoctoproject as a layer
koenkooi authored
269
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
270 # Where to store sources
82cd3ba Koen Kooi oebb: put downloaded sources in sources/ instead of build/
koenkooi authored
271 DL_DIR = "${OE_SOURCE_DIR}/downloads"
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
272
273 # Which files do we want to parse:
33d1c01 Khem Raj oebb.sh: Add missing one directory to BBFILES regexp
kraj authored
274 BBFILES ?= "${OE_SOURCE_DIR}/openembedded-core/meta/recipes-*/*/*.bb"
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
275
276 TMPDIR = "${OE_BUILD_TMPDIR}"
7de547c Koen Kooi oebb: don't generate mirror tarballs by default
koenkooi authored
277
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
278 # Go through the Firewall
279 #HTTP_PROXY = "http://${PROXYHOST}:${PROXYPORT}/"
280
281 _EOF
282 fi
283 }
284
285 ###############################################################################
286 # CONFIG_SVN_PROXY() - Configure subversion proxy information
287 ###############################################################################
288 function config_svn_proxy()
289 {
290 if [ ! -f ${SVN_CONFIG_DIR}/servers ]
291 then
292 mkdir -p ${SVN_CONFIG_DIR}
293 cat >> ${SVN_CONFIG_DIR}/servers <<_EOF
294 [global]
295 http-proxy-host = ${PROXYHOST}
296 http-proxy-port = ${PROXYPORT}
297 _EOF
298 fi
299 }
300
301
302 ###############################################################################
303 # CONFIG_GIT_PROXY() - Configure GIT proxy information
304 ###############################################################################
305 function config_git_proxy()
306 {
307 if [ ! -f ${GIT_CONFIG_DIR}/git-proxy.sh ]
308 then
309 mkdir -p ${GIT_CONFIG_DIR}
310 cat > ${GIT_CONFIG_DIR}/git-proxy.sh <<_EOF
311 if [ -x /bin/env ] ; then
312 exec /bin/env corkscrew ${PROXYHOST} ${PROXYPORT} \$*
313 else
314 exec /usr/bin/env corkscrew ${PROXYHOST} ${PROXYPORT} \$*
315 fi
316 _EOF
317 chmod +x ${GIT_CONFIG_DIR}/git-proxy.sh
89b0519 Koen Kooi oebb: fix git_config logic to not always append to ~/.oe/environement
koenkooi authored
318 export GIT_PROXY_COMMAND=${GIT_CONFIG_DIR}/git-proxy.sh
c36e086 Koen Kooi oebb: convert from yocto to oe-core
koenkooi authored
319 echo "export GIT_PROXY_COMMAND=\"\${GIT_CONFIG_DIR}/git-proxy.sh\"" >> ~/.oe/environment-oecore
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
320 fi
321 }
322
323
324 ###############################################################################
325 # Build the specified OE packages or images.
326 ###############################################################################
be08896 Koen Kooi oebb: add clean command
koenkooi authored
327
328 # FIXME: convert to case/esac
329
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
330 if [ $# -gt 0 ]
331 then
332 if [ $1 = "update" ]
333 then
334 shift
335 if [ ! -r $1 ]; then
336 if [ $1 == "commit" ]
337 then
338 shift
dea6d19 Koen Kooi oebb: clean up variables and local.conf
koenkooi authored
339 OE_COMMIT_ID=$1
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
340 fi
341 fi
342 update_all
343 exit 0
344 fi
345
346 if [ $1 = "bitbake" ]
347 then
348 shift
349 oe_build $*
350 exit 0
351 fi
352
353 if [ $1 = "config" ]
354 then
355 shift
356 CL_MACHINE=$1
357 shift
358 oe_config $*
359 exit 0
360 fi
be08896 Koen Kooi oebb: add clean command
koenkooi authored
361
362 if [ $1 = "clean" ]
363 then
364 clean_oe
365 exit 0
366 fi
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
367 fi
368
369 # Help Screen
370 echo ""
371 echo "Usage: $0 config <machine>"
372 echo " $0 update"
3d83b2d Koen Kooi oebb: update usage output
koenkooi authored
373 echo ""
374 echo " Not recommended, but also possible:"
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
375 echo " $0 bitbake <bitbake target>"
b80b5dd Khem Raj oebb.sh: BBFILES should point into meta/recipes-*
kraj authored
376 echo " It is recommended to do '. ~/.oe/environment-oecore' and run 'bitbake something' inside ${BUILDDIR} without using oebb.sh as wrapper"
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
377 echo ""
378 echo "You must invoke \"$0 config <machine>\" and then \"$0 update\" prior"
379 echo "to your first bitbake command"
380 echo ""
381 echo "The <machine> argument can be one of the following"
ab79e04 Jason Kridner Added aliases for the proper board names.
jadonk authored
382 echo " beagleboard: BeagleBoard"
383 echo " davinci-evm: DM6446 EVM"
384 echo " omap3evm: OMAP35x EVM"
dea6d19 Koen Kooi oebb: clean up variables and local.conf
koenkooi authored
385 echo " am3517-evm: AM3517 (Shiva) EVM"
f984361 Koen Kooi Add first setup script, imported from TI wiki
koenkooi authored
386 echo ""
387 echo "Other machines are valid as well, but listing those would make this message way too long"
Something went wrong with that request. Please try again.