summaryrefslogtreecommitdiff
path: root/cpu/blackfin/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-12 18:42:07 -0500
committerMike Frysinger <vapier@gentoo.org>2010-01-17 09:17:26 -0500
commit313e8aacc1c9f5ca06085fa19b1429fa18a01aaa (patch)
tree6f783397792bf884293787a0d56b7d0c7d33e376 /cpu/blackfin/Makefile
parentdc6bc645e0cc1939b31cc54346415cf8e0dffc88 (diff)
downloadu-boot-imx-313e8aacc1c9f5ca06085fa19b1429fa18a01aaa.zip
u-boot-imx-313e8aacc1c9f5ca06085fa19b1429fa18a01aaa.tar.gz
u-boot-imx-313e8aacc1c9f5ca06085fa19b1429fa18a01aaa.tar.bz2
Blackfin: move watchdog config check to Makefile
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'cpu/blackfin/Makefile')
-rw-r--r--cpu/blackfin/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/blackfin/Makefile b/cpu/blackfin/Makefile
index 5eef6a3..211b8d5 100644
--- a/cpu/blackfin/Makefile
+++ b/cpu/blackfin/Makefile
@@ -24,7 +24,7 @@ COBJS-y += os_log.o
COBJS-y += reset.o
COBJS-y += serial.o
COBJS-y += traps.o
-COBJS-y += watchdog.o
+COBJS-$(CONFIG_HW_WATCHDOG) += watchdog.o
ifeq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS)
COBJS-y += initcode.o