[FFmpeg-cvslog] tools: Make sure to create the tools directory before building decode_simple.o

Martin Storsjö git at videolan.org
Wed Aug 17 00:02:51 EEST 2022


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Aug  8 11:33:26 2022 +0300| [1eaa575cf11c054b0b724480f3070fc908faf8ef] | committer: Martin Storsjö

tools: Make sure to create the tools directory before building decode_simple.o

This directory dependency is normally added implicitly by rules
in ffbuild/common.mak; for tools it's created by a rule for TOOLOBJS.
TOOLOBJS is populated implicitly from TOOLS, and decode_simple.o
doesn't end up there because it's an odd occurrance of a lone
object file in the tools subdirectory, not belonging to any other
tool.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1eaa575cf11c054b0b724480f3070fc908faf8ef
---

 tools/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/Makefile b/tools/Makefile
index f4d1327b9f..4afa23342d 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -20,6 +20,8 @@ tools/target_io_dem_fuzzer.o: tools/target_dem_fuzzer.c
 tools/venc_data_dump$(EXESUF): tools/decode_simple.o
 tools/scale_slice_test$(EXESUF): tools/decode_simple.o
 
+tools/decode_simple.o: | tools
+
 OUTDIRS += tools
 
 clean::



More information about the ffmpeg-cvslog mailing list