diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-14 18:02:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-04-15 18:29:52 +0200 |
commit | 1336fc9c438ae83e4baaf6661c5a531632caf47d (patch) | |
tree | f4dbdfb59e92e383565cac3998c6bf7f2eccb7ca /defaultenv/bin/update | |
parent | 3b02688a589f365f45e95c9d731c6aed5e8a6faa (diff) | |
download | barebox-1336fc9c438ae83e4baaf6661c5a531632caf47d.tar.gz barebox-1336fc9c438ae83e4baaf6661c5a531632caf47d.tar.xz |
defaultenv/update: add oftree support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv/bin/update')
-rw-r--r-- | defaultenv/bin/update | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/defaultenv/bin/update b/defaultenv/bin/update index 96442b1560..1578789a56 100644 --- a/defaultenv/bin/update +++ b/defaultenv/bin/update @@ -36,6 +36,11 @@ elif [ x${type} = xbarebox ]; then if [ -z ${image} ]; then image=barebox.bin fi +elif [ x${type} = xoftree ]; then + image=$oftreeimage + if [ -z ${image} ]; then + image=oftree.bin + fi elif [ x${type} = xbareboxenv ]; then image=$bareboxenvimage if [ -z ${image} ]; then |