mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-15 16:12:28 -05:00
Move supprt-arm.S to separate library.
Core, codecs and plugins link it separately so this gets rid of SOURCES trickery. Don't build it for hosted targets. Change-Id: If15ef90e93cd218a4352ae8e89eea95d3122452f
This commit is contained in:
parent
4343011955
commit
cf333a61c7
9 changed files with 40 additions and 17 deletions
|
|
@ -201,7 +201,7 @@ $(CODECDIR)/%-pre.map: $(CODEC_CRT0) $(CODECLINK_LDS) $(CODECDIR)/%.o $(CODECLIB
|
|||
$(CODECLIB) \
|
||||
-lgcc $(subst .map,-pre.map,$(CODECLDFLAGS))
|
||||
|
||||
$(CODECDIR)/%.codec: $(CODECDIR)/%.o $(LIBSETJMP)
|
||||
$(CODECDIR)/%.codec: $(CODECDIR)/%.o $(LIBSETJMP) $(LIBARMSUPPORT)
|
||||
$(call PRINTS,LD $(@F))$(CC) $(CODECFLAGS) -o $(CODECDIR)/$*.elf \
|
||||
$(filter %.o, $^) \
|
||||
$(filter %.a, $+) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue