diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-13 16:04:51 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-18 20:19:20 +0800 |
commit | 2b26b148f4c8633a19bca0cbb96d4393ece8f54e (patch) | |
tree | 3205fff7b2750a5178beacb619763680fdf9bcf0 | |
parent | bb618e309df8a1161441670005decc1f8b8f76f6 (diff) | |
download | barebox-2b26b148f4c8633a19bca0cbb96d4393ece8f54e.tar.gz barebox-2b26b148f4c8633a19bca0cbb96d4393ece8f54e.tar.xz |
defaultenv: add binfmt support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r-- | defaultenv/bin/boot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot index b54ea6b71c..61b893a724 100644 --- a/defaultenv/bin/boot +++ b/defaultenv/bin/boot @@ -134,4 +134,8 @@ fi echo "booting kernel from $kdev" +#try to execute the file +# it does not work as example for /dev as the file is not executable +$kdev $bootm_opt +# fall back on bootm bootm $bootm_opt $kdev |