android: fix <va/va_version.h> dependencies 54/854/1
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Oct 2011 13:00:52 +0000 (15:00 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Oct 2011 13:01:20 +0000 (15:01 +0200)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
va/Android.mk

index 686874f..6777f6d 100755 (executable)
@@ -64,8 +64,8 @@ include $(BUILD_SHARED_LIBRARY)
 GEN := $(LOCAL_PATH)/va_version.h
 $(GEN): SCRIPT := $(LOCAL_PATH)/../build/gen_version.sh
 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
-$(GEN): PRIVATE_CUSTOM_TOOL = sh $(SCRIPT) $(LOCAL_PATH)/.. $(LOCAL_PATH)/va_version.h.in > $@
-$(GEN): $(LOCAL_PATH)/%.h : $(LOCAL_PATH)/%.h.in
+$(GEN): PRIVATE_CUSTOM_TOOL = sh $(SCRIPT) $(PRIVATE_PATH)/.. $(PRIVATE_PATH)/va_version.h.in > $@
+$(GEN): $(LOCAL_PATH)/%.h : $(LOCAL_PATH)/%.h.in $(SCRIPT) $(LOCAL_PATH)/../configure.ac
        $(transform-generated-source)
 LOCAL_GENERATED_SOURCES += $(GEN)