summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-02-14 20:44:42 -0600
committerWolfgang Denk <wd@denx.de>2008-03-25 22:16:15 +0100
commitd058698fd2d9f769ff38ac53c8708b3fdd314f2d (patch)
tree9a41de69112983ebd505483a564df6e74dd69e57 /common/Makefile
parent0d48926c87ec96f974a6ac4034f4a2f2eab3255f (diff)
downloadu-boot-imx-d058698fd2d9f769ff38ac53c8708b3fdd314f2d.zip
u-boot-imx-d058698fd2d9f769ff38ac53c8708b3fdd314f2d.tar.gz
u-boot-imx-d058698fd2d9f769ff38ac53c8708b3fdd314f2d.tar.bz2
Add setexpr command
Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: &, |, ^, +, -, *, /. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 56d0581..56176ca 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -88,6 +88,7 @@ COBJS-$(CONFIG_CMD_REGINFO) += cmd_reginfo.o
COBJS-$(CONFIG_CMD_REISER) += cmd_reiser.o
COBJS-y += cmd_sata.o
COBJS-$(CONFIG_CMD_SCSI) += cmd_scsi.o
+COBJS-$(CONFIG_CMD_SETEXPR) += cmd_setexpr.o
COBJS-$(CONFIG_CMD_SPI) += cmd_spi.o
COBJS-$(CONFIG_CMD_STRINGS) += cmd_strings.o
COBJS-$(CONFIG_CMD_TERMINAL) += cmd_terminal.o