aboutsummaryrefslogtreecommitdiffstats
path: root/doc/build_system.txt
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2015-02-08 12:18:27 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-17 13:08:04 +0100
commitbc8e044d8c3277958c920091412b77d4e7411d96 (patch)
tree61173f1e201e5e458cd1d1a8c4353cdf1b0f8eea /doc/build_system.txt
parentd9293c776ed9129acaf3d41fb727380c293dc943 (diff)
downloadffmpeg-bc8e044d8c3277958c920091412b77d4e7411d96.tar.gz
x86/doc/Makefile: DBG=1 to preprocess external asm
The macro hell sometimes make it difficult to trace the source of an error, so it is easier to analyze the preprocessed output. This patch makes this automatical by specifying DBG=1 on the command line: a file ffmpeg/dir/file.asm gets preprocessed to builddir/dir/file.dbg.asm, which is then compiled. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/build_system.txt')
-rw-r--r--doc/build_system.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/build_system.txt b/doc/build_system.txt
index 2efde5ce02..20242b1353 100644
--- a/doc/build_system.txt
+++ b/doc/build_system.txt
@@ -7,6 +7,11 @@ V
Disable the default terse mode, the full command issued by make and its
output will be shown on the screen.
+DBG
+ Preprocess x86 external assembler files to a .dbg.asm file in the object
+ directory, which then gets compiled. Helps developping those assembler
+ files.
+
DESTDIR
Destination directory for the install targets, useful to prepare packages
or install FFmpeg in cross-environments.