summaryrefslogtreecommitdiff
path: root/board/pxa255_idp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/pxa255_idp/Makefile')
-rw-r--r--board/pxa255_idp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/pxa255_idp/Makefile b/board/pxa255_idp/Makefile
index 2835f37554..dbde833edc 100644
--- a/board/pxa255_idp/Makefile
+++ b/board/pxa255_idp/Makefile
@@ -24,7 +24,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS := pxa_idp.o
@@ -32,7 +32,7 @@ SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(obj).depend $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
clean:
rm -f $(OBJS)