From: Robert Beckett <robert.beckett@xxxxxxxxx> Fix usage of shared variable LOCAL_PATH in deferred variable expansion area. Signed-off-by: Robert Beckett <robert.beckett@xxxxxxxxx> --- tests/Android.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/Android.mk b/tests/Android.mk index c65f94c..abccb7f 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -22,6 +22,7 @@ skip_lib_list := \ lib_list := $(filter-out $(skip_lib_list),$(libintel_tools_la_SOURCES)) LIB_SOURCES := $(addprefix lib/,$(lib_list)) +GPU_TOOLS_PATH := $(LOCAL_PATH) .PHONY: version.h.tmp @@ -38,10 +39,10 @@ $(LOCAL_PATH)/version.h.tmp: $(LOCAL_PATH)/version.h: $(LOCAL_PATH)/version.h.tmp @echo "updating version.h" - @if ! cmp -s $(LOCAL_PATH)/version.h.tmp $(LOCAL_PATH)/version.h; then \ - mv $(LOCAL_PATH)/version.h.tmp $(LOCAL_PATH)/version.h ; \ + @if ! cmp -s $(GPU_TOOLS_PATH)/version.h.tmp $(GPU_TOOLS_PATH)/version.h; then \ + mv $(GPU_TOOLS_PATH)/version.h.tmp $(GPU_TOOLS_PATH)/version.h ; \ else \ - rm $(LOCAL_PATH)/version.h.tmp ; \ + rm $(GPU_TOOLS_PATH)/version.h.tmp ; \ fi # FIXME: autogenerate this info # -- 1.7.9.5 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx