summaryrefslogtreecommitdiffstats
path: root/board/sandburst/karef/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/sandburst/karef/Makefile')
-rw-r--r--board/sandburst/karef/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/sandburst/karef/Makefile b/board/sandburst/karef/Makefile
index 49d240c4ca..d44714018c 100644
--- a/board/sandburst/karef/Makefile
+++ b/board/sandburst/karef/Makefile
@@ -38,7 +38,7 @@ CFLAGS += -DBUILDUSER='"$(BUILDUSER)"'
# TBS: end debugging
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS = $(BOARD).o ../common/flash.o ../common/ppc440gx_i2c.o \
../common/sb_common.o
@@ -50,7 +50,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(OBJS) $(SOBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
clean:
rm -f $(SOBJS) $(OBJS)
OpenPOWER on IntegriCloud