summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorTim Rowley <timothy.o.rowley@intel.com>2017-06-27 10:47:28 -0500
committerTim Rowley <timothy.o.rowley@intel.com>2017-06-30 13:26:19 -0500
commit8b66d18a3b4f6d6a4f0ea9d71459dac68e5e0295 (patch)
tree88aab2cd45924e507d524976397b06e40484afbe /scons
parent614de92f103d9309fbe598cc7c1253468afc79ee (diff)
downloadmesa-8b66d18a3b4f6d6a4f0ea9d71459dac68e5e0295.tar.gz
mesa-8b66d18a3b4f6d6a4f0ea9d71459dac68e5e0295.tar.bz2
mesa-8b66d18a3b4f6d6a4f0ea9d71459dac68e5e0295.zip
scons: allow .inl file extension
Intended for header files which are not meant to be included directly. Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
Diffstat (limited to 'scons')
-rw-r--r--scons/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/custom.py b/scons/custom.py
index 544b15de1a4..955247ccf20 100644
--- a/scons/custom.py
+++ b/scons/custom.py
@@ -281,7 +281,7 @@ def parse_source_list(env, filename, names=None):
# cause duplicate actions.
f = f[len(cur_srcdir + '/'):]
# do not include any headers
- if f.endswith(tuple(['.h','.hpp'])):
+ if f.endswith(tuple(['.h','.hpp','.inl'])):
continue
srcs.append(f)