summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-02-09 16:00:50 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-02-09 18:48:31 +0100
commit1b535267dfa18ad802229851fdbb88b656e8b7df (patch)
treed1469bf0a5e45908328db721aa7f9980944b831b /compilerplugins
parent531391239bbd9d9dfc8df4d5f413fd0ab1758b09 (diff)
treat all source files as not up to date only with FORCE_COMPILE_ALL
So running the compiler plugin can be done either with FORCE_COMPILE_ALL=1 for simplicity, running the plugin on all source files for the target, or it's possible to use make's -W option (or touch files manually) to run it only for selected files. Change-Id: Ifa82bbe91dc1e179af9db8fbf99271bcf03a1d47
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/README b/compilerplugins/README
index a5441c95dd90..52e34b9d49d8 100644
--- a/compilerplugins/README
+++ b/compilerplugins/README
@@ -35,6 +35,8 @@ All warnings and errors are marked '[loplugin]' in the message.
Rewriters analyse and possibly modify given source files.
Usage: make COMPILER_PLUGIN_TOOL=<rewriter_name>
+It is possible to also pass FORCE_COMPILE_ALL=1 to make to trigger rebuild of all source files,
+even those that are up to date.
Modifications will be written directly to the source files.