1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

configure: Add config_components.asm

This is in preparation for the next commit.

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-11-01 11:27:22 +01:00
parent c6efe1abda
commit c607aae2b9

7
configure vendored
View File

@@ -8524,8 +8524,10 @@ echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH
cp_if_changed $TMPH config.h
touch ffbuild/.config
# Copy config.asm before printing ALL_COMPONENTS; that's not needed in assembly.
enabled x86asm && cp_if_changed $TMPASM config.asm
# Copy config.asm and reopen a new TMPASM for config_components.asm
enabled x86asm && cp_if_changed $TMPASM config.asm && cat > $TMPASM <<EOF
; Automatically generated by configure - do not modify!
EOF
# Reopen a new TMPH for config_components.h.
cat > $TMPH <<EOF
@@ -8540,6 +8542,7 @@ echo "#endif /* FFMPEG_CONFIG_COMPONENTS_H */" >> $TMPH
echo "endif # FFMPEG_CONFIG_MAK" >> ffbuild/config.mak
cp_if_changed $TMPH config_components.h
enabled x86asm && cp_if_changed $TMPASM config_components.asm
cat > $TMPH <<EOF
/* Generated by ffmpeg configure */