mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 07:47:50 +00:00
objtool: Rename --Werror to --werror
The objtool --Werror option name is stylistically inconsistent: halfway between GCC's single-dash capitalized -Werror and objtool's double-dash --lowercase convention, making it unnecessarily hard to remember. Make the 'W' lower case (--werror) for consistency with objtool's other options. Acked-by: Petr Mladek <pmladek@suse.com> Tested-by: Joe Lawrence <joe.lawrence@redhat.com> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
This commit is contained in:
@@ -41,7 +41,7 @@ objtool-enabled := $(or $(delay-objtool),$(CONFIG_NOINSTR_VALIDATION))
|
||||
ifeq ($(delay-objtool),y)
|
||||
vmlinux-objtool-args-y += $(objtool-args-y)
|
||||
else
|
||||
vmlinux-objtool-args-$(CONFIG_OBJTOOL_WERROR) += --Werror
|
||||
vmlinux-objtool-args-$(CONFIG_OBJTOOL_WERROR) += --werror
|
||||
endif
|
||||
|
||||
vmlinux-objtool-args-$(CONFIG_NOINSTR_VALIDATION) += --noinstr \
|
||||
|
||||
Reference in New Issue
Block a user