aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/omxplayer/omxplayer/0006-Prevent-ffmpeg-configure-compile-race-condition.patch
blob: 81dab07a6752c7ebd191b5af712a55acb1657b38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From f570b9985ff2d57d21c1e64ed08c43b6d89fd0b1 Mon Sep 17 00:00:00 2001
From: Paul Barker <pbarker@toganlabs.com>
Date: Thu, 7 Sep 2017 20:02:15 +0000
Subject: [PATCH] Prevent ffmpeg configure/compile race condition

Additional dependency information is needed in Makefile.ffmpeg to ensure that
the configure stage is finished before the compile stage starts.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Upstream-Status: Pending

---
 Makefile.ffmpeg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: git/Makefile.ffmpeg
===================================================================
--- git.orig/Makefile.ffmpeg
+++ git/Makefile.ffmpeg
@@ -5,7 +5,7 @@ FFMPEG_EXTRA_CFLAGS?=-mfpu=vfp -mfloat-a
 WORK=$(PWD)
 
 .PHONY : all
-all: configure compile
+all: compile
 
 .PHONY : copy
 copy:
@@ -13,7 +13,7 @@ copy:
 	$(HOST)-strip *.so*
 
 .PHONY : compile
-compile: 
+compile: configure
 	+$(MAKE) -j$(shell nproc) -C ffmpeg
 
 .PHONY : configure