]> git.sur5r.net Git - u-boot/blobdiff - drivers/qe/Makefile
GCC4.6: Use debug() instead of debugX() in s3c24xx_nand.c
[u-boot] / drivers / qe / Makefile
index 18fe9ce614a64fcf5f69025f5e191a46b2255ac4..ef4bdf8b24e7c7435ba722eedcbf265133fd3bfd 100644 (file)
@@ -22,9 +22,9 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)qe.a
+LIB    := $(obj)libqe.o
 
-COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
+COBJS-$(and $(CONFIG_QE),$(CONFIG_OF_LIBFDT)) += fdt.o
 COBJS-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o
 
 COBJS  := $(COBJS-y)
@@ -34,7 +34,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################