]> git.sur5r.net Git - u-boot/blobdiff - common/Makefile
Move autoboot code to autoboot.c
[u-boot] / common / Makefile
index 79983254521f540c715b9705213b4cebb6513f52..ae798654ca32c15446811dfe288fe28f49c4b494 100644 (file)
@@ -23,6 +23,11 @@ obj-y += s_record.o
 obj-y += xyzModem.o
 obj-y += cmd_disk.o
 
+# This option is not just y/n - it can have a numeric value
+ifdef CONFIG_BOOTDELAY
+obj-y += autoboot.o
+endif
+
 # boards
 obj-$(CONFIG_SYS_GENERIC_BOARD) += board_f.o
 obj-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o