diff mbox series

[2/3] patman: Add project-default for 'gcc'

Message ID 1606238094-28940-2-git-send-email-philipp.tomsich@vrull.eu
State Accepted
Delegated to: Simon Glass
Headers show
Series [1/3] patman: Add --no-signoff to suppress adding signoffs | expand

Commit Message

Philipp Tomsich Nov. 24, 2020, 5:14 p.m. UTC
Add defaults for FSF/GNU projects, such as gcc, that provide sensible
settings for those projects.

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
---

 tools/patman/settings.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Simon Glass Nov. 24, 2020, 11:41 p.m. UTC | #1
On Tue, 24 Nov 2020 at 10:15, Philipp Tomsich <philipp.tomsich@vrull.eu> wrote:
>
> Add defaults for FSF/GNU projects, such as gcc, that provide sensible
> settings for those projects.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
> ---
>
>  tools/patman/settings.py | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass Dec. 23, 2020, 3:43 p.m. UTC | #2
On Tue, 24 Nov 2020 at 10:15, Philipp Tomsich <philipp.tomsich@vrull.eu> wrote:
>
> Add defaults for FSF/GNU projects, such as gcc, that provide sensible
> settings for those projects.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
> ---
>
>  tools/patman/settings.py | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm/next, thanks!
diff mbox series

Patch

diff --git a/tools/patman/settings.py b/tools/patman/settings.py
index 8c10eab..bb3f868 100644
--- a/tools/patman/settings.py
+++ b/tools/patman/settings.py
@@ -23,7 +23,12 @@  _default_settings = {
     "u-boot": {},
     "linux": {
         "process_tags": "False",
-    }
+    },
+    "gcc": {
+        "process_tags": "False",
+        "add_signoff": "False",
+        "check_patch": "False",
+    },
 }
 
 class _ProjectConfigParser(ConfigParser.SafeConfigParser):