1From f570b9985ff2d57d21c1e64ed08c43b6d89fd0b1 Mon Sep 17 00:00:00 2001 2From: 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> 10Upstream-Status: Pending 11 12--- 13 Makefile.ffmpeg | 4 ++-- 14 1 file changed, 2 insertions(+), 2 deletions(-) 15 16Index: 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 21 WORK=$(PWD) 22 23 .PHONY : all 24-all: configure compile 25+all: compile 26 27 .PHONY : copy 28 copy: 29@@ -13,7 +13,7 @@ copy: 30 $(HOST)-strip *.so* 31 32 .PHONY : compile 33-compile: 34+compile: configure 35 +$(MAKE) -j$(shell nproc) -C ffmpeg 36 37 .PHONY : configure 38