| 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 |