Tweak Makefiles a bit to allow cross compiling Rockbox Utility.

- pass AR to the lib Makefiles to make sure the correct one gets used.
- create an archive index for archives.
- simplify ucl Makefile a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2010-12-23 18:59:58 +00:00
parent 7f6c271bad
commit e1b1183f40
6 changed files with 24 additions and 24 deletions

View file

@ -60,7 +60,7 @@ $(OBJDIR)%.o: %.c
libmkamsboot$(RBARCH).a: $(LIBOBJS)
@echo AR $@
$(SILENT)$(AR) ruc $(TARGET_DIR)$@ $^
$(SILENT)$(AR) rucs $(TARGET_DIR)$@ $^
# building the standalone executable
$(OUTPUT): $(OBJS) $(EXTRADEPS)