1
0
Fork 0
forked from len0rd/rockbox

Redo r28026 so that all .S files get the __ASSEMBLER__ define.

Patch by Thomas Jarosch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28913 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-12-27 17:27:59 +00:00
parent 6cbacb1b3e
commit 0bf1bd1d51
8 changed files with 11 additions and 15 deletions

View file

@ -109,7 +109,7 @@ $(CODECDIR)/%.o: $(ROOTDIR)/apps/codecs/%.c
$(CODECDIR)/%.o: $(ROOTDIR)/apps/codecs/%.S
$(SILENT)mkdir -p $(dir $@)
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) \
-I$(dir $<) $(CODECFLAGS) -c $< -o $@
-I$(dir $<) $(CODECFLAGS) $(ASMFLAGS) -c $< -o $@
ifdef APP_TYPE
CODECLDFLAGS = $(SHARED_FLAG) # <-- from Makefile