scripts/clean-includes: Ignore .inc.c files
Ignore files which have a .inc.c extension -- these are not headers but they are not standalone C source files either, so we can't make any automated decisions about what #include directives they should have. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <1456238983-10160-3-git-send-email-peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
ce15110981
commit
f8e1f5d6a2
@ -94,6 +94,11 @@ EOT
|
||||
|
||||
for f in "$@"; do
|
||||
case "$f" in
|
||||
*.inc.c)
|
||||
# These aren't standalone C source files
|
||||
echo "SKIPPING $f (not a standalone source file)"
|
||||
continue
|
||||
;;
|
||||
*.c)
|
||||
MODE=c
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user