On 07/21/2016 12:33 AM, U. Artie Eoff wrote:
If intel-gen4asm version is< 1.9 or not installed then we
shouldn't run the associated make rules.
This fixes 'make dist' failure.
This looks good to me.
Add: Reviewed-by: Zhao Yakui <[email protected]>
Signed-off-by: U. Artie Eoff<[email protected]>
---
src/shaders/post_processing/gen9/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/shaders/post_processing/gen9/Makefile.am
b/src/shaders/post_processing/gen9/Makefile.am
index 1e32dffd6abd..3e0c2cec5c80 100644
--- a/src/shaders/post_processing/gen9/Makefile.am
+++ b/src/shaders/post_processing/gen9/Makefile.am
@@ -56,6 +56,7 @@ all-local: $(TARGETS)
SUFFIXES = .g9b .g9s .asm
+if HAVE_GEN4ASM
$(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G9A)
.asm.g9s:
$(AM_V_GEN)cpp $< > _pp0.$@; \
@@ -63,6 +64,7 @@ $(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G9A)
rm _pp0.$@
.g9s.g9b:
$(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 9 $<
+endif
CLEANFILES = $(INTEL_PP_GEN9_ASM)
_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva