summaryrefslogtreecommitdiffstats
path: root/defaultenv/bin/update
diff options
context:
space:
mode:
Diffstat (limited to 'defaultenv/bin/update')
-rw-r--r--defaultenv/bin/update5
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