summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/rbspeex/Makefile2
-rw-r--r--tools/ucl/src/Makefile15
2 files changed, 8 insertions, 9 deletions
diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile
index 2fb1c4dc00..e52543c40c 100644
--- a/tools/rbspeex/Makefile
+++ b/tools/rbspeex/Makefile
@@ -72,7 +72,7 @@ $(DEPFILE): $(SOURCES)
72 72
73$(OUT)/librbspeex.a: $(OBJS) $(DEPFILE) $(OUT)/rbspeex.o 73$(OUT)/librbspeex.a: $(OBJS) $(DEPFILE) $(OUT)/rbspeex.o
74 @echo AR $(OUT)/librbspeex$(RBARCH).a 74 @echo AR $(OUT)/librbspeex$(RBARCH).a
75 $(SILENT)$(AR) ruv $@ $+ > /dev/null 2>&1 75 $(SILENT)$(AR) rucs $@ $+ > /dev/null 2>&1
76 76
77librbspeex$(RBARCH).a: $(OUT)/librbspeex.a 77librbspeex$(RBARCH).a: $(OUT)/librbspeex.a
78 $(SILENT)cp $(OUT)/librbspeex.a $(TARGET_DIR)librbspeex$(RBARCH).a 78 $(SILENT)cp $(OUT)/librbspeex.a $(TARGET_DIR)librbspeex$(RBARCH).a
diff --git a/tools/ucl/src/Makefile b/tools/ucl/src/Makefile
index c519844e93..3a13acc47e 100644
--- a/tools/ucl/src/Makefile
+++ b/tools/ucl/src/Makefile
@@ -21,17 +21,16 @@ OUT = $(TARGET_DIR)build$(RBARCH)
21 21
22SOURCES = alloc.c io.c n2b_99.c n2b_d.c n2b_ds.c n2b_to.c n2d_99.c \ 22SOURCES = alloc.c io.c n2b_99.c n2b_d.c n2b_ds.c n2b_to.c n2d_99.c \
23 n2d_d.c n2d_ds.c n2d_to.c n2e_99.c n2e_d.c n2e_ds.c n2e_to.c ucl_crc.c \ 23 n2d_d.c n2d_ds.c n2d_to.c n2e_99.c n2e_d.c n2e_ds.c n2e_to.c ucl_crc.c \
24 ucl_dll.c ucl_init.c ucl_ptr.c ucl_str.c ucl_util.c 24 ucl_init.c ucl_ptr.c ucl_str.c ucl_util.c #ucl_dll.c
25 25
26OBJS = $(OUT)/alloc.o $(OUT)/io.o $(OUT)/n2b_99.o $(OUT)/n2b_d.o $(OUT)/n2b_ds.o $(OUT)/n2b_to.o $(OUT)/n2d_99.o \ 26OBJS = $(addprefix $(OUT)/,$(SOURCES:%.c=%.o))
27 $(OUT)/n2d_d.o $(OUT)/n2d_ds.o $(OUT)/n2d_to.o $(OUT)/n2e_99.o $(OUT)/n2e_d.o $(OUT)/n2e_ds.o $(OUT)/n2e_to.o $(OUT)/ucl_crc.o \ 27
28 $(OUT)/ucl_dll.o $(OUT)/ucl_init.o $(OUT)/ucl_ptr.o $(OUT)/ucl_str.o $(OUT)/ucl_util.o 28# This Makefile is _not_ used to build uclpack for Rockbox builds anymore (they
29# use tools.make), so we can use $(CC) and $(AR) here.
29 30
30# we don't use $(AR) and $(RANLIB) below since we want the _native_ tools
31# not the cross-compiler tools
32libucl$(RBARCH).a: $(OUT) $(OBJS) 31libucl$(RBARCH).a: $(OUT) $(OBJS)
33 $(SILENT)ar ruv $(TARGET_DIR)$@ $(OBJS) >/dev/null 2>&1 32 @echo AR $@
34 $(SILENT)ranlib $(TARGET_DIR)$@ 33 $(SILENT)$(AR) rucs $(TARGET_DIR)$@ $(OBJS) >/dev/null 2>&1
35 34
36$(OUT)/%.o: %.c 35$(OUT)/%.o: %.c
37 @echo CC $< 36 @echo CC $<