]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/Makefile
Move bootretry code into bootretry.c and clean up
[karo-tx-uboot.git] / common / Makefile
index 81721f9b389cd863df93637ca605aae1b7821008..391a8d6230a3ebb68cdeb3259971055377dac745 100644 (file)
@@ -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