summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorrobotboy <robotboy@chromium.org>2010-02-02 13:40:29 -0800
committerSimon Glass <sjg@chromium.org>2011-08-24 09:56:47 -0700
commitb71a7e6b24e5cb47d5e7e64162b5dd8a721bed91 (patch)
tree1b552151d95c18bdb9a7c9d75f7b32e1818ddf74 /common/Makefile
parent723d4e319435838a96d756a69c1e36d3844996ac (diff)
Add gettime command.
Gettime returns the current timer value. If CONFIG_SYS_HZ is defined then the timer value is also converted to seconds. Review URL: http://codereview.chromium.org/563012
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 a4757a492a..b1f2efa88d 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -175,6 +175,7 @@ COBJS-$(CONFIG_MODEM_SUPPORT) += modem.o
COBJS-$(CONFIG_UPDATE_TFTP) += update.o
COBJS-$(CONFIG_USB_KEYBOARD) += usb_kbd.o
COBJS-$(CONFIG_BOOTSTAGE) += bootstage.o
+COBJS-$(CONFIG_CMD_GETTIME) += cmd_gettime.o
COBJS := $(sort $(COBJS-y))