From d058698fd2d9f769ff38ac53c8708b3fdd314f2d Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 14 Feb 2008 20:44:42 -0600 Subject: 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 --- common/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'common/Makefile') diff --git a/common/Makefile b/common/Makefile index 56d05819f9..56176ca2af 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 -- cgit v1.2.1