An easy to reproduce make race:

$ make libswscale/x86/uops_macros.gen.asm
HOSTCC  libswscale/x86/uops_macros.gen.asm
cc1: fatal error: opening output file libswscale/x86/uops_macros.gen.asm: No 
such file or directory

It needs the missing directory creation dependency adding.

Signed-off-by: Richard Purdie <[email protected]>
---
 libswscale/x86/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libswscale/x86/Makefile b/libswscale/x86/Makefile
index 4467fd877d..dae3bec5aa 100644
--- a/libswscale/x86/Makefile
+++ b/libswscale/x86/Makefile
@@ -1,3 +1,5 @@
+OUTDIRS += $(SUBDIR)x86
+
 OBJS                            += x86/rgb2rgb.o                        \
                                    x86/swscale.o                        \
                                    x86/yuv2rgb.o                        \
@@ -31,6 +33,6 @@ $(SUBDIR)x86/ops_common.o: $(SUBDIR)x86/uops_macros.gen.asm
 $(SUBDIR)x86/ops_int.o: $(SUBDIR)x86/uops_macros.gen.asm
 $(SUBDIR)x86/ops_float.o: $(SUBDIR)x86/uops_macros.gen.asm
 $(SUBDIR)x86/uops_macros.gen.asm: $(SRC_PATH)/libswscale/x86/uops_macros.asm.h 
\
-                                  $(SRC_PATH)/libswscale/uops_macros.h
+                                  $(SRC_PATH)/libswscale/uops_macros.h  | 
$(SUBDIR)x86
        $(HOSTCC) $(HOSTCC_E) $(HOSTCPPFLAGS) $<
 endif
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to