summaryrefslogtreecommitdiffstats
path: root/board/ep82xxm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/ep82xxm/Makefile')
-rw-r--r--board/ep82xxm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ep82xxm/Makefile b/board/ep82xxm/Makefile
index c69c475a8d..74b9a356f7 100644
--- a/board/ep82xxm/Makefile
+++ b/board/ep82xxm/Makefile
@@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS := $(BOARD).o
@@ -31,7 +31,7 @@ SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
clean:
rm -f $(OBJS)
OpenPOWER on IntegriCloud