diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-23 11:58:02 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-23 12:43:05 +0000 |
commit | fd3e39a40ca2ee26b09a5de3149af8b056b85233 (patch) | |
tree | c8eb224e292f05141699a91ce45e76173c253da8 /Makefile | |
parent | e78490c44ccd90507750a563493bad6d27e3693a (diff) |
scripts/clean-includes: Enhance to handle header files
Enhance clean-includes to handle header files as well as .c source
files. For headers we merely remove all the redundant #include
lines, including any includes of qemu/osdep.h itself.
There is a simple mollyguard on the include file processing to
skip a few key headers like osdep.h itself, to avoid producing
bad patches if the script is run on every file in include/.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions