diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-12-03 06:47:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-07 10:35:01 +0100 |
commit | 1e06aef681a078dbc51ec36a602c9be9735b8ab9 (patch) | |
tree | 6ddf4c6bd2fe3cd585807c985f625ed2b3c11fb5 /commands | |
parent | 901aad7d73817fc7cde657b4305c4ab0005c1903 (diff) | |
download | barebox-1e06aef681a078dbc51ec36a602c9be9735b8ab9.tar.gz barebox-1e06aef681a078dbc51ec36a602c9be9735b8ab9.tar.xz |
sanbox: add linux_execve and linux_exec command
this will allow to execute a program of the host from barebox
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/Kconfig | 6 | ||||
-rw-r--r-- | commands/Makefile | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 2badea3b7b..ebc9c7f2d0 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -107,6 +107,12 @@ config CMD_TIME checking for ctrl-c, so the time command can be used with commands which are interruptible with ctrl-c. +config CMD_LINUX_EXEC + bool "linux exec" + depends on LINUX + help + This command executes a command on the Linux host. + endmenu menu "file commands " diff --git a/commands/Makefile b/commands/Makefile index e95fdc375d..aa013de107 100644 --- a/commands/Makefile +++ b/commands/Makefile @@ -61,3 +61,4 @@ obj-$(CONFIG_CMD_TIME) += time.o obj-$(CONFIG_CMD_OFTREE) += oftree.o obj-$(CONFIG_CMD_MAGICVAR) += magicvar.o obj-$(CONFIG_CMD_IOMEM) += iomem.o +obj-$(CONFIG_CMD_LINUX_EXEC) += linux_exec.o |