[FFmpeg-devel] [PATCH] x86/doc/Makefile: DBG=1 to preprocess external asm

James Almer jamrial at gmail.com
Tue Feb 17 20:06:54 CET 2015


On 17/02/15 9:21 AM, Michael Niedermayer wrote:
> On Sun, Feb 08, 2015 at 02:54:25PM +0100, Christophe Gisquet wrote:
>> Hi,
>>
>> 2015-02-08 14:07 GMT+01:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
>>> Doesn't this also need an update for "make clean"?
>>
>> Right, here's an updated one, also improving dependency generation and
>> allowing more genering (for now) code.
>>
>> -- 
>> Christophe
> 
>>  common.mak           |   10 +++++++++-
>>  doc/build_system.txt |    5 +++++
>>  doc/optimization.txt |    5 +++++
>>  library.mak          |    6 +++++-
>>  4 files changed, 24 insertions(+), 2 deletions(-)
>> baa7dae24e535b6db360b4717cf4d2cf8e2e7a84  0001-x86-doc-Makefile-DBG-1-to-preprocess-external-asm.patch
>> From 6795382920c90fdf7e9cef5031627534c9df15b3 Mon Sep 17 00:00:00 2001
>> From: Christophe Gisquet <christophe.gisquet at gmail.com>
>> Date: Sun, 8 Feb 2015 12:18:27 +0100
>> Subject: [PATCH] x86/doc/Makefile: DBG=1 to preprocess external asm
> 
> applied

$ make libavcodec/x86/dcadsp.o
YASM    libavcodec/x86/dcadsp.o
STRIP   libavcodec/x86/dcadsp.o

$ rm libavcodec/x86/dcadsp.*

$ make libavcodec/x86/dcadsp.o DBG=1
YASM    libavcodec/x86/dcadsp.dbg.asm
YASM    libavcodec/x86/dcadsp.o
STRIP   libavcodec/x86/dcadsp.o
rm libavcodec/x86/dcadsp.dbg.asm

$ rm libavcodec/x86/dcadsp.*

$ make libavcodec/x86/dcadsp.o DBG=0
YASM    libavcodec/x86/dcadsp.dbg.asm
YASM    libavcodec/x86/dcadsp.o
STRIP   libavcodec/x86/dcadsp.o
rm libavcodec/x86/dcadsp.dbg.asm

$ rm libavcodec/x86/dcadsp.o

$ make libavcodec/x86/dcadsp.o
YASM    libavcodec/x86/dcadsp.dbg.asm
YASM    libavcodec/x86/dcadsp.o
STRIP   libavcodec/x86/dcadsp.o

Is this the intended behavior?
My commands are those after the $ prompta. The rest is run by the corresponding make 
commands.


More information about the ffmpeg-devel mailing list