diff options
author | Jose Fonseca <[email protected]> | 2017-08-01 14:36:16 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2017-08-01 15:24:39 +0100 |
commit | b99dcbfeb344390fea9919199b34e5504f7c84e3 (patch) | |
tree | a7ebdd094311f016fb8a8b4f618f540bf647e159 /src/mesa | |
parent | 1bc8b2c0ebbc5f5d930058d5214b724468f981c2 (diff) |
build: Convert git_sha1_gen script to Python.
Python is the scripting language we've been using for scripts that need
to run across all supported platforms.
Shell is *not* a portable language for scripts.
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/Android.libmesa_git_sha1.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/Android.libmesa_git_sha1.mk b/src/mesa/Android.libmesa_git_sha1.mk index 7d64b1c809c..f66f88484bc 100644 --- a/src/mesa/Android.libmesa_git_sha1.mk +++ b/src/mesa/Android.libmesa_git_sha1.mk @@ -46,7 +46,7 @@ LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, git_sha1.h) $(intermediates)/git_sha1.h: $(wildcard $(MESA_TOP)/.git/logs/HEAD) @mkdir -p $(dir $@) @echo "GIT-SHA1: $(PRIVATE_MODULE) <= git" - $(hide) sh $(MESA_TOP)/bin/git_sha1_gen.sh > $@ + $(hide) python $(MESA_TOP)/bin/git_sha1_gen.py > $@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(intermediates) |