diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-13 14:02:47 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-18 20:14:12 +0800 |
commit | 071ceba1e38f93ba2d937ae7fad037c5a9493655 (patch) | |
tree | 82b4377286c1c701e5a27e4d41b2ad06e1356e5c /common/Makefile | |
parent | 733d85510c74d9638dc88e001f45412f30a2f3d0 (diff) | |
download | barebox-071ceba1e38f93ba2d937ae7fad037c5a9493655.tar.gz barebox-071ceba1e38f93ba2d937ae7fad037c5a9493655.tar.xz |
Introduce binfmt support
This will allow to execute any file and detect it's type to handle it.
This will allow to use shell for bootp bootfile or dfu.
You can register multiple hook for the same filetype. They will be execute
in the invert order of register. If a hook does not handle the file you just
return -ERESTARTNOHAND;
This is only available with hush parser.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index bfde73cd44..a58aef94c8 100644 --- a/common/Makefile +++ b/common/Makefile @@ -1,3 +1,4 @@ +obj-$(CONFIG_BINFMT) += binfmt.o obj-$(CONFIG_SHELL_HUSH) += hush.o obj-$(CONFIG_SHELL_SIMPLE) += parser.o obj-$(CONFIG_GREGORIAN_CALENDER) += date.o |