aboutsummaryrefslogtreecommitdiff
path: root/scripts/clean-includes
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-06-05 16:49:17 +0100
committerAlex Bennée <alex.bennee@linaro.org>2020-06-08 16:59:29 +0100
commita6703e65ecfe3a57f122abdf1f8353fb60927a43 (patch)
tree1fa4442fcd66d4c817aa839aa45255a6d31bd356 /scripts/clean-includes
parent02324a475c7df4223d63d631d0cead61f0efeb03 (diff)
downloadqemu-a6703e65ecfe3a57f122abdf1f8353fb60927a43.zip
qemu-a6703e65ecfe3a57f122abdf1f8353fb60927a43.tar.gz
qemu-a6703e65ecfe3a57f122abdf1f8353fb60927a43.tar.bz2
scripts/clean-includes: Mark 'qemu/qemu-plugin.h' as special header
"qemu/qemu-plugin.h" isn't meant to be include by QEMU codebase, but by 3rd party plugins that QEMU can use. These plugins can be built out of QEMU and don't include "qemu/osdep.h". Mark "qemu/qemu-plugin.h" as a special header that doesn't need to be cleaned for "qemu/osdep.h". Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20200524215654.13256-1-f4bug@amsat.org> Message-Id: <20200605154929.26910-3-alex.bennee@linaro.org>
Diffstat (limited to 'scripts/clean-includes')
-rwxr-xr-xscripts/clean-includes1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/clean-includes b/scripts/clean-includes
index dd938da..795b3be 100755
--- a/scripts/clean-includes
+++ b/scripts/clean-includes
@@ -123,6 +123,7 @@ for f in "$@"; do
;;
*include/qemu/osdep.h | \
*include/qemu/compiler.h | \
+ *include/qemu/qemu-plugin.h | \
*include/glib-compat.h | \
*include/sysemu/os-posix.h | \
*include/sysemu/os-win32.h | \