diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2014-11-11 12:55:00 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2014-11-11 13:13:29 +0800 |
commit | 677bec25d0f2ddc08571e5ad447f566edded7add (patch) | |
tree | 761dc9a950d29343b3961130295065a5988dd869 | |
parent | 498f3f8ad39bca7abf621d931250d6e81df610e4 (diff) | |
download | piglit-677bec25d0f2ddc08571e5ad447f566edded7add.tar.gz |
tests/util/Android.mk: fix error for generating header files
fix error for generating the piglit-dispatch-gen.c/piglit-dispatch-gen.h/
piglit-util-gl-enum-gen.c file
Change-Id: I16e73d53737c7a65e7d48cda95f4253361f0a0a1
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | tests/util/Android.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/util/Android.mk b/tests/util/Android.mk index 25283feb3..34e1cf17c 100644 --- a/tests/util/Android.mk +++ b/tests/util/Android.mk @@ -59,14 +59,13 @@ LOCAL_GENERATED_SOURCES += $(CONFIG_HEADER) # Make the intermediates also depend on the scripts (so they get rebuilt is the .py files change as well) # Ensure that the arguments for gen_dispatch are in the correct order (.c _then_ .h file) +intermediates:= $(local-generated-sources-dir) GEN_PIGLIT_DISPATCH_DIR := $(LOCAL_PATH) GEN_DISPATCH := $(GEN_PIGLIT_DISPATCH_DIR)/%.h $(GEN_PIGLIT_DISPATCH_DIR)/%.c GEN_HEADER := $(GEN_PIGLIT_DISPATCH_DIR)/%.h - $(GEN_DISPATCH): PRIVATE_CUSTOM_TOOL = python $+ --out-dir $(GEN_PIGLIT_DISPATCH_DIR) $(GEN_DISPATCH): $(LOCAL_PATH)/gen_dispatch.py $(transform-generated-source) - LOCAL_GENERATED_SOURCES += $(GEN_HEADER) LOCAL_SRC_FILES := \ |