]> git.sur5r.net Git - u-boot/blobdiff - drivers/watchdog/Makefile
4xx_enet.c: fix GCC 4.6 build warnings
[u-boot] / drivers / watchdog / Makefile
index 200968de4e251d1c5399761b670fc25e657257d0..5579bf2f1416a1a2b847b2bc038a3ac58f6f0c42 100644 (file)
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)libwatchdog.a
+LIB    := $(obj)libwatchdog.o
 
 COBJS-$(CONFIG_AT91SAM9_WATCHDOG) += at91sam9_wdt.o
+COBJS-$(CONFIG_FTWDT010_WATCHDOG) += ftwdt010_wdt.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)
@@ -34,7 +35,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################