diff options
author | Nils Wallménius <nils@rockbox.org> | 2011-08-18 16:33:41 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2011-08-18 16:33:41 +0000 |
commit | b086458e4e1908878161ab5b84f287d5d726497b (patch) | |
tree | e4ff33e7ef1f6c5cd1b956ec69881c554f74307f /apps/codecs/libfaad/libfaad.make | |
parent | 46d7fb9b4a59dcebf9b68c38bc77b2c0f0761d33 (diff) |
FS#12231
Centralize the selection of codec compilation flags to codec.make
to avoid having to duplicate the per cpu selection logic and the
build rule in the individual codec lib make files and make tweaking
easier.
The two special cases, libmad and libspeex were left alone.
I plan to introduce a var for arm generation so that appropriate flags
can be selected per generation as benchmarking results have shown that
different arm arches might have different optimal flags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30330 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/libfaad.make')
-rw-r--r-- | apps/codecs/libfaad/libfaad.make | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/codecs/libfaad/libfaad.make b/apps/codecs/libfaad/libfaad.make index a52e6f354a..4f5fbc322c 100644 --- a/apps/codecs/libfaad/libfaad.make +++ b/apps/codecs/libfaad/libfaad.make @@ -17,11 +17,3 @@ OTHER_INC += -I$(APPSDIR)/codecs/libfaad $(FAADLIB): $(FAADLIB_OBJ) $(SILENT)$(shell rm -f $@) $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null - -# libfaad is faster on ARM with -O2, use -O1 for other CPUs -FAADFLAGS = -I$(APPSDIR)/codecs/libfaad $(filter-out -O%,$(CODECFLAGS)) -FAADFLAGS += -O2 - -$(CODECDIR)/libfaad/%.o: $(ROOTDIR)/apps/codecs/libfaad/%.c - $(SILENT)mkdir -p $(dir $@) - $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(FAADFLAGS) -c $< -o $@ |