* [FFmpeg-devel] [PATCH] tools: Make sure to create the tools directory before building decode_simple.o
@ 2022-08-08 8:59 Martin Storsjö
2022-08-16 9:51 ` Anton Khirnov
0 siblings, 1 reply; 2+ messages in thread
From: Martin Storsjö @ 2022-08-08 8:59 UTC (permalink / raw)
To: ffmpeg-devel
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.
---
This fixes stray fate errors where make tried to build this object
file when no other rule had ended up creating the tools directory
already, like this one:
http://fate.ffmpeg.org/log.cgi?time=20220808051007&slot=i686-mingw32-clang-trunk&log=test
---
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::
--
2.32.0 (Apple Git-132)
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] [PATCH] tools: Make sure to create the tools directory before building decode_simple.o
2022-08-08 8:59 [FFmpeg-devel] [PATCH] tools: Make sure to create the tools directory before building decode_simple.o Martin Storsjö
@ 2022-08-16 9:51 ` Anton Khirnov
0 siblings, 0 replies; 2+ messages in thread
From: Anton Khirnov @ 2022-08-16 9:51 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Quoting Martin Storsjö (2022-08-08 10:59:51)
> 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.
>
> ---
> This fixes stray fate errors where make tried to build this object
> file when no other rule had ended up creating the tools directory
> already, like this one:
> http://fate.ffmpeg.org/log.cgi?time=20220808051007&slot=i686-mingw32-clang-trunk&log=test
> ---
> tools/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
Should be ok
--
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-16 9:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-08 8:59 [FFmpeg-devel] [PATCH] tools: Make sure to create the tools directory before building decode_simple.o Martin Storsjö
2022-08-16 9:51 ` Anton Khirnov
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git