Bug 1024260 - Fixup dependencies in media/libopus/Makefile.in to avoid celt_pitch_xcorr_arm-gnu.o being always rebuilt. r=ted

This commit is contained in:
Mike Hommey 2014-06-13 08:44:48 +09:00
Родитель 33996c49d0
Коммит fab66080bc
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -10,15 +10,11 @@ ifeq ($(CPU_ARCH),arm)
# opcodes; actual arch detection is done at runtime.
ASFLAGS = -march=armv7-a -mfpu=neon
celt_pitch_xcorr_arm-gnu.$(ASM_SUFFIX): celt_arm_dir celt/arm/armopts-gnu.S
# we need to throw this here because upstream has this path hardcoded
celt_arm_dir:
mkdir -p celt/arm
celt_pitch_xcorr_arm-gnu.$(ASM_SUFFIX): celt/arm/armopts-gnu.S
# armopts needs a specific rule, because arm2gnu.pl will always add the .S
# suffix when translating the files that include it.
celt/arm/armopts-gnu.S: celt/arm/armopts.s
celt/arm/armopts-gnu.S: $(call mkdir_deps,celt/arm) celt/arm/armopts.s
$(PERL) $(srcdir)/celt/arm/arm2gnu.pl < $< > $@
# For all others, we can use an implicit rule with the configured $(ASM_SUFFIX).
%-gnu.$(ASM_SUFFIX): celt/arm/%.s