diff options
author | Eric Bénard <eric@eukrea.com> | 2011-01-07 17:35:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-08 13:26:48 +0100 |
commit | fe2eb54612aead53d1bc4335df1b31d6e9c6a218 (patch) | |
tree | 75773b3e30b30a723fdc7d3cc4796aaa0be6f110 /defaultenv/bin/update | |
parent | ec604a5448c0f208061b24583c162f51218ff42d (diff) | |
download | barebox-fe2eb54612aead53d1bc4335df1b31d6e9c6a218.tar.gz barebox-fe2eb54612aead53d1bc4335df1b31d6e9c6a218.tar.xz |
update: add bareboxenv update possibility
this is useful when building barebox without integrated env.
Signed-off-by: Eric Bénard <eric@eukrea.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 5b35df1315..43d30977d8 100644 --- a/defaultenv/bin/update +++ b/defaultenv/bin/update @@ -35,6 +35,11 @@ elif [ x${type} = xbarebox ]; then if [ x${image} = x ]; then image=barebox.bin fi +elif [ x${type} = xbareboxenv ]; then + image=$bareboxenvimage + if [ x${image} = x ]; then + image=bareboxenv.bin + fi else . /env/bin/_update_help exit 1 |