scons: put the generated git_sha1.h file in top-level src/ directory
authorBrian Paul <brianp@vmware.com>
Wed, 15 Jun 2016 16:42:34 +0000 (10:42 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Jun 2016 16:33:00 +0000 (10:33 -0600)
commitace3124f2293616aa09f66a4cb0b38830df8683a
tree19f69fdff784075774778c18b296a788a839367c
parent5a64549f54bf1f67a4d0d098ab480affaaabd8ab
scons: put the generated git_sha1.h file in top-level src/ directory

To match what's done in the automake build.

v2: Use git rev-parse to get a 10-character hash ID
    Fix Python imports

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/SConscript
src/mesa/SConscript