summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
Diffstat (limited to 'disk')
-rw-r--r--disk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk/Makefile b/disk/Makefile
index 128db77df6..17266a2eb6 100644
--- a/disk/Makefile
+++ b/disk/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
#CFLAGS += -DET_DEBUG -DDEBUG
-LIB = $(obj)libdisk.a
+LIB = $(obj)libdisk.o
COBJS-y += part.o
COBJS-$(CONFIG_MAC_PARTITION) += part_mac.o
@@ -41,7 +41,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
all: $(LIB)
$(LIB): $(obj).depend $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
#########################################################################