From b8c94a15611ce7e191d022a3cd9f3ba23930a9c8 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sun, 29 Apr 2012 20:21:16 +0200 Subject: add 'global' command This implements global shell variable support. This is done by registering a new device named 'global', so global variables are just plain device parameters. Global variables are useful for storing the global state in the environment. Currently we do this by sourcing scripts instead of executing them which is quite limiting. Signed-off-by: Sascha Hauer --- commands/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/Makefile') diff --git a/commands/Makefile b/commands/Makefile index f02b5cac3a..4c8a0a9595 100644 --- a/commands/Makefile +++ b/commands/Makefile @@ -65,3 +65,4 @@ obj-$(CONFIG_CMD_MAGICVAR) += magicvar.o obj-$(CONFIG_CMD_IOMEM) += iomem.o obj-$(CONFIG_CMD_LINUX_EXEC) += linux_exec.o obj-$(CONFIG_CMD_AUTOMOUNT) += automount.o +obj-$(CONFIG_CMD_GLOBAL) += global.o -- cgit v1.2.3