Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 428 lines (360 sloc) 14.769 kb
f984361 @koenkooi 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:
7 # 20090902: download from twice
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 @koenkooi oebb: don't generate mirror tarballs by default
koenkooi authored
17 #
18 # For further changes consult 'git log' or browse to:
19 # http://gitorious.org/angstrom/angstrom-setup-scripts/commits
20 # to see the latest revision history
f984361 @koenkooi 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 @koenkooi oebb: generate sourceable env file
koenkooi authored
28 PROXYHOST=""
f984361 @koenkooi 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
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
35 #--------------------------------------------------------------------------
36 # Check if this script was cloned from http://gitorious.org/angstrom/angstrom-setup-scripts or not
37 #--------------------------------------------------------------------------
38
39 if [ -e ${OE_BASE}/.gitmodules ] ; then
6a192ed @koenkooi oebb: fix git submodule test
koenkooi authored
40 USE_SUBMODULES="sort-of-true"
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
41 fi
42
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
43 ###############################################################################
44 # SET_ENVIRONMENT() - Setup environment variables for OE development
45 ###############################################################################
46 function set_environment()
47 {
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
48
49 #--------------------------------------------------------------------------
50 # If an env already exists, use it, otherwise generate it
51 #--------------------------------------------------------------------------
52 if [ -e ~/.oe/environment ] ; then
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
53 . ~/.oe/environment
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
54 else
55
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
56 mkdir -p ~/.oe/
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
57
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
58 #--------------------------------------------------------------------------
59 # Specify distribution information
60 #--------------------------------------------------------------------------
61 DISTRO="angstrom-2008.1"
62 DISTRO_DIRNAME=`echo $DISTRO | sed s#[.-]#_#g`
63
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
64 echo "export DISTRO=\"${DISTRO}\"" > ~/.oe/environment
65 echo "export DISTRO_DIRNAME=\"${DISTRO_DIRNAME}\"" >> ~/.oe/environment
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
66
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
67 #--------------------------------------------------------------------------
68 # Specify the root directory for your OpenEmbedded development
69 #--------------------------------------------------------------------------
70 OE_BUILD_DIR=${OE_BASE}/build
71 OE_BUILD_TMPDIR="${OE_BUILD_DIR}/tmp-${DISTRO_DIRNAME}"
72 OE_SOURCE_DIR=${OE_BASE}/sources
448286d @koenkooi oebb: add some missing vars to environment script, reported by Gregg Leb...
koenkooi authored
73
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
74 mkdir -p ${OE_BUILD_DIR}
75 mkdir -p ${OE_SOURCE_DIR}
76 export OE_BASE
77
448286d @koenkooi oebb: add some missing vars to environment script, reported by Gregg Leb...
koenkooi authored
78 echo "export OE_BUILD_DIR=\"${OE_BUILD_DIR}\"" >> ~/.oe/environment
79 echo "export OE_BUILD_TMPDIR=\"${OE_BUILD_TMPDIR}\"" >> ~/.oe/environment
80 echo "export OE_SOURCE_DIR=\"${OE_SOURCE_DIR}\"" >> ~/.oe/environment
81
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
82 echo "export OE_BASE=\"${OE_BASE}\"" >> ~/.oe/environment
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
83
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
84 #--------------------------------------------------------------------------
85 # Include up-to-date bitbake in our PATH.
86 #--------------------------------------------------------------------------
87 export PATH=${OE_SOURCE_DIR}/bitbake/bin:${PATH}
88
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
89 echo "export PATH=\"${PATH}\"" >> ~/.oe/environment
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
90
f984361 @koenkooi 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 #--------------------------------------------------------------------------
6548c0c @koenkooi oebb: add ANGSTROMLIBC to whitelist, update submodules
koenkooi authored
95 export BB_ENV_EXTRAWHITE="MACHINE DISTRO GIT_PROXY_COMMAND ANGSTROMLIBC"
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
96
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
97 echo "export BB_ENV_EXTRAWHITE=\"${BB_ENV_EXTRAWHITE}\"" >> ~/.oe/environment
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
98
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
99 #--------------------------------------------------------------------------
100 # Specify proxy information
101 #--------------------------------------------------------------------------
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
102 if [ "x$PROXYHOST" != "x" ] ; then
f984361 @koenkooi 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
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
109 echo "export http_proxy=\"${http_proxy}\"" >> ~/.oe/environment
110 echo "export ftp_proxy=\"${ftp_proxy}\"" >> ~/.oe/environment
111 echo "export SVN_CONFIG_DIR=\"${SVN_CONFIG_DIR}\"" >> ~/.oe/environment
112 echo "export GIT_CONFIG_DIR=\"${GIT_CONFIG_DIR}\"" >> ~/.oe/environment
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
113
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
114 config_svn_proxy
115 config_git_proxy
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
116 fi
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
117
118 #--------------------------------------------------------------------------
119 # Set up the bitbake path to find the OpenEmbedded recipes.
120 #--------------------------------------------------------------------------
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
121 export BBPATH=${OE_BUILD_DIR}:${OE_SOURCE_DIR}/openembedded${BBPATH_EXTRA}
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
122
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
123 echo "export BBPATH=\"${BBPATH}\"" >> ~/.oe/environment
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
124
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
125 #--------------------------------------------------------------------------
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
126 # Reconfigure dash
127 #--------------------------------------------------------------------------
128 if [ $(readlink /bin/sh) = "dash" ] ; then
129 sudo dpkg-reconfigure dash
130 fi
8f98636 @koenkooi oebb: add usage note for ~/.oe/environment
koenkooi authored
131
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
132 echo "There now is a sourceable script in ~/.oe/enviroment. You can do '. ~/.oe/environment' and run 'bitbake something' without using $0 as wrapper"
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
133 fi # if -e ~/.oe/environment
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
134 }
135
136
137 ###############################################################################
138 # UPDATE_ALL() - Make sure everything is up to date
139 ###############################################################################
140 function update_all()
141 {
142 set_environment
143 update_bitbake
144 update_oe
145 }
146
be08896 @koenkooi oebb: add clean command
koenkooi authored
147 ###############################################################################
148 # CLEAN_OE() - Delete TMPDIR
149 ###############################################################################
150 function clean_oe()
151 {
152 set_environment
153 echo "Cleaning ${OE_BUILD_TMPDIR}"
154 rm -rf ${OE_BUILD_TMPDIR}
155 }
156
f984361 @koenkooi 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 {
163 set_environment
8161238 @koenkooi oebb: improve messaging to user
koenkooi authored
164 if [ -e ~/.oe/environment ] ; then
165 echo "Using ~/.oe/environment to setup needed variables. It is recommended to do '. ~/.oe/environment' and run 'bitbake something' without using $0 as wrapper"
166 fi
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
167 cd ${OE_BUILD_DIR}
168 if [ -z $MACHINE ] ; then
169 echo "Executing: bitbake" $*
170 bitbake $*
171 else
172 echo "Executing: MACHINE=${MACHINE} bitbake" $*
173 MACHINE=${MACHINE} bitbake $*
174 fi
175 }
176
177
178 ###############################################################################
179 # OE_CONFIG() - Configure OE for a target
180 ###############################################################################
181 function oe_config()
182 {
183 set_environment
184 config_oe
c7b71f4 @koenkooi oebb: be more verbose about ~/oe/.environment and report when config is ...
koenkooi authored
185
186 echo ""
d9bdbe2 @koenkooi oebb: replace all tabs with 4 spaces for consistency
koenkooi authored
187 echo "Setup for ${CL_MACHINE} completed"
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
188 }
189
190
191 ###############################################################################
192 # UPDATE_BITBAKE() - Update Bitbake distribution
193 ###############################################################################
194 function update_bitbake()
195 {
6a43974 @koenkooi oebb: generate sourceable env file
koenkooi authored
196 if [ "x$PROXYHOST" != "x" ] ; then
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
197 config_git_proxy
198 fi
199
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
200 if [ "USE_SUBMODULES" = "true" ] ; then
37fa7b8 @koenkooi oebb: fix non-submodule usage on old git versions
koenkooi authored
201 echo "Updating bitbake submodule"
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
202 git submodule update --init ${OE_SOURCE_DIR}/bitbake
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
203 else
37fa7b8 @koenkooi oebb: fix non-submodule usage on old git versions
koenkooi authored
204 if [ ! -d ${OE_SOURCE_DIR}/bitbake/bin ]; then
205 rm -rf ${OE_SOURCE_DIR}/bitbake
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
206 echo Checking out bitbake
207 git clone git://git.openembedded.org/bitbake ${OE_SOURCE_DIR}/bitbake
208 cd ${OE_SOURCE_DIR}/bitbake && git checkout -b 1.10 origin/1.10
209 else
8161238 @koenkooi oebb: improve messaging to user
koenkooi authored
210 echo "Updating bitbake"
211 echo "Executing: cd ${OE_SOURCE_DIR}/bitbake && git pull --rebase"
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
212 cd ${OE_SOURCE_DIR}/bitbake && git pull --rebase
213 fi
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
214 fi
215 }
216
217
218 ###############################################################################
219 # UPDATE_OE() - Update OpenEmbedded distribution.
220 ###############################################################################
221 function update_oe()
222 {
e4d6fb8 oebb: protect call to git_proxy setup as well
Gregg Lebovitz authored
223 if [ "x$PROXYHOST" != "x" ] ; then
224 config_git_proxy
225 fi
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
226
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
227 if [ "USE_SUBMODULES" = "true" ] ; then
37fa7b8 @koenkooi oebb: fix non-submodule usage on old git versions
koenkooi authored
228 echo "Updating OE submodule"
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
229 git submodule update --init ${OE_SOURCE_DIR}/openembedded
230 else
37fa7b8 @koenkooi oebb: fix non-submodule usage on old git versions
koenkooi authored
231 if [ ! -d ${OE_SOURCE_DIR}/openembedded/conf ]; then
232 rm -rf ${OE_SOURCE_DIR}/openembedded/
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
233 echo Checking out OpenEmbedded
234 git clone "git://git.openembedded.org/openembedded" ${OE_SOURCE_DIR}/openembedded
235 cd ${OE_SOURCE_DIR}/openembedded
236 if [ ! -r ${OE_COMMIT_ID} ];
237 then
238 echo "Checkout commit id: ${OE_COMMIT_ID}"
239 git checkout -b install ${OE_COMMIT_ID}
240 else
10c6e12 @koenkooi oebb: add text to comfort people that get scared by the 'fatal' git warn...
koenkooi authored
241 echo "Checking out OE, depending on your git version you might get a harmless, what git alarmingly calls 'fatal' error. It just means the branch already exists."
242 git checkout -b org.openembedded.dev origin/org.openembedded.dev || true
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
243 fi
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
244 else
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
245 echo Updating OpenEmbedded
8161238 @koenkooi oebb: improve messaging to user
koenkooi authored
246 echo "Executing: cd ${OE_SOURCE_DIR}/openembedded && git pull --rebase"
247 cd ${OE_SOURCE_DIR}/openembedded && git pull --rebase
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
248 fi
249 fi
250 }
251
252
253 ###############################################################################
254 # CONFIG_OE() - Configure OpenEmbedded
255 ###############################################################################
256 function config_oe()
257 {
258 #--------------------------------------------------------------------------
259 # Determine the proper machine name
260 #--------------------------------------------------------------------------
261 case ${CL_MACHINE} in
ab79e04 @jadonk Added aliases for the proper board names.
jadonk authored
262 beagle|beagleboard)
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
263 MACHINE="beagleboard"
264 ;;
ab79e04 @jadonk Added aliases for the proper board names.
jadonk authored
265 dm6446evm|davinci-evm)
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
266 MACHINE="davinci-dvevm"
267 ;;
268 omap3evm)
269 MACHINE="omap3evm"
270 ;;
ab79e04 @jadonk Added aliases for the proper board names.
jadonk authored
271 shiva|omap3517-evm)
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
272 MACHINE="omap3517-evm"
273 ;;
274 *)
275 echo "Unknown machine ${CL_MACHINE}, passing it to OE directly"
276 MACHINE="${CL_MACHINE}"
277 ;;
278 esac
279
280 #--------------------------------------------------------------------------
281 # Write out the OE bitbake configuration file.
282 #--------------------------------------------------------------------------
283 mkdir -p ${OE_BUILD_DIR}/conf
284
285 # There's no need to rewrite local.conf when changing MACHINE
286 if [ ! -e ${OE_BUILD_DIR}/conf/local.conf ]; then
287 cat > ${OE_BUILD_DIR}/conf/local.conf <<_EOF
288 # Where to store sources
82cd3ba @koenkooi oebb: put downloaded sources in sources/ instead of build/
koenkooi authored
289 DL_DIR = "${OE_SOURCE_DIR}/downloads"
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
290
291 INHERIT += "rm_work"
292
293 # Which files do we want to parse:
f6f42a1 @koenkooi oebb: add infrastructure for using git submodules, disabled for now
koenkooi authored
294 BBFILES := "${OE_SOURCE_DIR}/openembedded/recipes/*/*.bb"
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
295 BBMASK = ""
296
abdd489 @koenkooi oebb: disable localegen for users
koenkooi authored
297 # Qemu 0.12.x is giving too much problems recently (2010.05), so disable it for users
298 ENABLE_BINARY_LOCALE_GENERATION = "0"
299
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
300 # What kind of images do we want?
301 IMAGE_FSTYPES += "tar.bz2"
302
dea6d19 @koenkooi oebb: clean up variables and local.conf
koenkooi authored
303 # Make use of SMP:
304 # PARALLEL_MAKE specifies how many concurrent compiler threads are spawned per bitbake process
305 # BB_NUMBER_THREADS specifies how many concurrent bitbake tasks will be run
306 #PARALLEL_MAKE = "-j2"
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
307 BB_NUMBER_THREADS = "2"
308
309 DISTRO = "${DISTRO}"
310 MACHINE ?= "${MACHINE}"
311
312 # Set TMPDIR instead of defaulting it to $pwd/tmp
313 TMPDIR = "${OE_BUILD_TMPDIR}"
314
7de547c @koenkooi oebb: don't generate mirror tarballs by default
koenkooi authored
315 # Don't generate the mirror tarball for SCM repos, the snapshot is enough
316 BB_GENERATE_MIRROR_TARBALLS = "0"
317
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
318 # Go through the Firewall
319 #HTTP_PROXY = "http://${PROXYHOST}:${PROXYPORT}/"
320
321 _EOF
322 fi
323 }
324
325 ###############################################################################
326 # CONFIG_SVN_PROXY() - Configure subversion proxy information
327 ###############################################################################
328 function config_svn_proxy()
329 {
330 if [ ! -f ${SVN_CONFIG_DIR}/servers ]
331 then
332 mkdir -p ${SVN_CONFIG_DIR}
333 cat >> ${SVN_CONFIG_DIR}/servers <<_EOF
334 [global]
335 http-proxy-host = ${PROXYHOST}
336 http-proxy-port = ${PROXYPORT}
337 _EOF
338 fi
339 }
340
341
342 ###############################################################################
343 # CONFIG_GIT_PROXY() - Configure GIT proxy information
344 ###############################################################################
345 function config_git_proxy()
346 {
347 if [ ! -f ${GIT_CONFIG_DIR}/git-proxy.sh ]
348 then
349 mkdir -p ${GIT_CONFIG_DIR}
350 cat > ${GIT_CONFIG_DIR}/git-proxy.sh <<_EOF
351 if [ -x /bin/env ] ; then
352 exec /bin/env corkscrew ${PROXYHOST} ${PROXYPORT} \$*
353 else
354 exec /usr/bin/env corkscrew ${PROXYHOST} ${PROXYPORT} \$*
355 fi
356 _EOF
357 chmod +x ${GIT_CONFIG_DIR}/git-proxy.sh
89b0519 @koenkooi oebb: fix git_config logic to not always append to ~/.oe/environement
koenkooi authored
358 export GIT_PROXY_COMMAND=${GIT_CONFIG_DIR}/git-proxy.sh
359 echo "export GIT_PROXY_COMMAND=\"\${GIT_CONFIG_DIR}/git-proxy.sh\"" >> ~/.oe/environment
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
360 fi
361 }
362
363
364 ###############################################################################
365 # Build the specified OE packages or images.
366 ###############################################################################
be08896 @koenkooi oebb: add clean command
koenkooi authored
367
368 # FIXME: convert to case/esac
369
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
370 if [ $# -gt 0 ]
371 then
372 if [ $1 = "update" ]
373 then
374 shift
375 if [ ! -r $1 ]; then
376 if [ $1 == "commit" ]
377 then
378 shift
dea6d19 @koenkooi oebb: clean up variables and local.conf
koenkooi authored
379 OE_COMMIT_ID=$1
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
380 fi
381 fi
382 update_all
383 exit 0
384 fi
385
386 if [ $1 = "bitbake" ]
387 then
388 shift
389 oe_build $*
390 exit 0
391 fi
392
393 if [ $1 = "config" ]
394 then
395 shift
396 CL_MACHINE=$1
397 shift
398 oe_config $*
399 exit 0
400 fi
be08896 @koenkooi oebb: add clean command
koenkooi authored
401
402 if [ $1 = "clean" ]
403 then
404 clean_oe
405 exit 0
406 fi
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
407 fi
408
409 # Help Screen
410 echo ""
411 echo "Usage: $0 config <machine>"
412 echo " $0 update"
3d83b2d @koenkooi oebb: update usage output
koenkooi authored
413 echo ""
414 echo " Not recommended, but also possible:"
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
415 echo " $0 bitbake <bitbake target>"
3d83b2d @koenkooi oebb: update usage output
koenkooi authored
416 echo " It is recommended to do '. ~/.oe/environment' and run 'bitbake something' without using oebb.sh as wrapper"
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
417 echo ""
418 echo "You must invoke \"$0 config <machine>\" and then \"$0 update\" prior"
419 echo "to your first bitbake command"
420 echo ""
421 echo "The <machine> argument can be one of the following"
ab79e04 @jadonk Added aliases for the proper board names.
jadonk authored
422 echo " beagleboard: BeagleBoard"
423 echo " davinci-evm: DM6446 EVM"
424 echo " omap3evm: OMAP35x EVM"
dea6d19 @koenkooi oebb: clean up variables and local.conf
koenkooi authored
425 echo " am3517-evm: AM3517 (Shiva) EVM"
f984361 @koenkooi Add first setup script, imported from TI wiki
koenkooi authored
426 echo ""
427 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.