summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-04-10 20:01:30 -0600
committerTom Rini <trini@ti.com>2014-05-29 17:48:21 -0400
commit0098e179e1afacb3cf595c67a98b8739dc7edcde (patch)
treec19140ef37a8f86d6ccd5d2a065239f09cf09121 /common/Makefile
parent30354978ff470470c15caea2566b61b5792ad277 (diff)
downloadu-boot-imx-0098e179e1afacb3cf595c67a98b8739dc7edcde.zip
u-boot-imx-0098e179e1afacb3cf595c67a98b8739dc7edcde.tar.gz
u-boot-imx-0098e179e1afacb3cf595c67a98b8739dc7edcde.tar.bz2
Move bootretry code into bootretry.c and clean up
This code is only used by one board, so it seems a shame to clutter up the readline code with it. Move it into its own file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 81721f9..391a8d6 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -29,6 +29,11 @@ ifdef CONFIG_BOOTDELAY
obj-y += autoboot.o
endif
+# This option is not just y/n - it can have a numeric value
+ifdef CONFIG_BOOT_RETRY_TIME
+obj-y += bootretry.o
+endif
+
# boards
obj-$(CONFIG_SYS_GENERIC_BOARD) += board_f.o
obj-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o