mesa: Fix Android build
authorChad Versace <chadversary@google.com>
Wed, 28 Jun 2017 21:36:29 +0000 (14:36 -0700)
committerChad Versace <chadversary@chromium.org>
Wed, 28 Jun 2017 21:41:45 +0000 (14:41 -0700)
The format_fallback.py script wants two arguments: 'csv-file' and
'out-file'.

Fixes: 20c99eaece "mesa: Add _mesa_format_fallback_rgbx_to_rgba() [v2]"
Reported-by: Rob Herring <robh@kernel.org>
src/mesa/Android.gen.mk

index 8d242600f54990b4eab1c90280f522e69537f843..ee2d1dec2c7a57763b8fd575360e4df3530b779d 100644 (file)
@@ -133,7 +133,7 @@ format_fallback_deps := \
 $(intermediates)/main/format_fallback.c: PRIVATE_SCRIPT := $(MESA_PYTHON2) $(FORMAT_FALLBACK)
 $(intermediates)/main/format_fallback.c: PRIVATE_XML :=
 $(intermediates)/main/format_fallback.c: $(format_fallback_deps)
-       $(call es-gen, $<)
+       $(call es-gen, $< /dev/stdout)
 
 FORMAT_INFO := $(LOCAL_PATH)/main/format_info.py
 format_info_deps := \