projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
614de92
)
scons: allow .inl file extension
author
Tim Rowley
<timothy.o.rowley@intel.com>
Tue, 27 Jun 2017 15:47:28 +0000
(10:47 -0500)
committer
Tim Rowley
<timothy.o.rowley@intel.com>
Fri, 30 Jun 2017 18:26:19 +0000
(13:26 -0500)
Intended for header files which are not meant to be included directly.
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
scons/custom.py
patch
|
blob
|
history
diff --git
a/scons/custom.py
b/scons/custom.py
index 544b15de1a4a2e8d154e0eec3abb026e5d9616a8..955247ccf2045424c32bffb19429a964a59d1398 100644
(file)
--- 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)