blob: 81dab07a6752c7ebd191b5af712a55acb1657b38 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From f570b9985ff2d57d21c1e64ed08c43b6d89fd0b1 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Paul Barker <pbarker@toganlabs.com>
3Date: Thu, 7 Sep 2017 20:02:15 +0000
4Subject: [PATCH] Prevent ffmpeg configure/compile race condition
5
6Additional dependency information is needed in Makefile.ffmpeg to ensure that
7the configure stage is finished before the compile stage starts.
8
9Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Patrick Williams864cc432023-02-09 14:54:44 -060010Upstream-Status: Pending
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011
Brad Bishopd7bf8c12018-02-25 22:55:05 -050012---
13 Makefile.ffmpeg | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016Index: git/Makefile.ffmpeg
17===================================================================
18--- git.orig/Makefile.ffmpeg
19+++ git/Makefile.ffmpeg
20@@ -5,7 +5,7 @@ FFMPEG_EXTRA_CFLAGS?=-mfpu=vfp -mfloat-a
Brad Bishopd7bf8c12018-02-25 22:55:05 -050021 WORK=$(PWD)
22
23 .PHONY : all
24-all: configure compile
25+all: compile
26
27 .PHONY : copy
28 copy:
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029@@ -13,7 +13,7 @@ copy:
Brad Bishopd7bf8c12018-02-25 22:55:05 -050030 $(HOST)-strip *.so*
31
32 .PHONY : compile
33-compile:
34+compile: configure
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080035 +$(MAKE) -j$(shell nproc) -C ffmpeg
Brad Bishopd7bf8c12018-02-25 22:55:05 -050036
37 .PHONY : configure