diff options
author | Eric Engestrom <[email protected]> | 2017-10-25 14:04:35 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-10-27 13:38:37 +0100 |
commit | 7088622e5fb506b64c906b673a9af0feb9a5ba14 (patch) | |
tree | bcf6b8c47f47e9ebe43a7781e4016c2817127d04 /src/mesa/Android.libmesa_git_sha1.mk | |
parent | a41e2e9cf5f865f21e32cac2ed2e25dd21a05119 (diff) |
buildsys: move file regeneration logic to the script itself
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/mesa/Android.libmesa_git_sha1.mk')
-rw-r--r-- | src/mesa/Android.libmesa_git_sha1.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/Android.libmesa_git_sha1.mk b/src/mesa/Android.libmesa_git_sha1.mk index ddb30c428af..d27923074dd 100644 --- a/src/mesa/Android.libmesa_git_sha1.mk +++ b/src/mesa/Android.libmesa_git_sha1.mk @@ -43,10 +43,10 @@ $(intermediates)/dummy.c: LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, git_sha1.h) -$(intermediates)/git_sha1.h: $(wildcard $(MESA_TOP)/.git/logs/HEAD) +$(intermediates)/git_sha1.h: $(MESA_TOP)/src/git_sha1.h.in $(wildcard $(MESA_TOP)/.git/logs/HEAD) @mkdir -p $(dir $@) @echo "GIT-SHA1: $(PRIVATE_MODULE) <= git" - $(hide) $(MESA_PYTHON2) $(MESA_TOP)/bin/git_sha1_gen.py > $@ + $(hide) $(MESA_PYTHON2) $(MESA_TOP)/bin/git_sha1_gen.py --output $@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(intermediates) |