summaryrefslogtreecommitdiff
path: root/board/palmld/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/palmld/Makefile')
-rw-r--r--board/palmld/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/palmld/Makefile b/board/palmld/Makefile
index 0cca8ab9ec2..29cdaeefbcb 100644
--- a/board/palmld/Makefile
+++ b/board/palmld/Makefile
@@ -21,7 +21,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS := palmld.o
@@ -29,7 +29,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)