diff mbox

[3/3] mn10300: Remove redundent debugging info flag

Message ID e9d530c5b8b1c9a8510d9c8db8663aedc393de8f.1386804405.git.geoff@infradead.org (mailing list archive)
State New, archived
Headers show

Commit Message

Geoff Levand Dec. 11, 2013, 11:34 p.m. UTC
The gereric makefile now sets '-Wa,--gdwarf2' in KBUILD_AFLAGS, so
this setting is no longer needed in arch makefiles.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Geoff Levand <geoff@infradead.org> for Huawei, Linaro
---
 arch/mn10300/Makefile | 1 -
 1 file changed, 1 deletion(-)

Comments

Michal Marek Jan. 27, 2014, 9:08 p.m. UTC | #1
Dne 12.12.2013 00:34, Geoff Levand napsal(a):
> The gereric makefile now sets '-Wa,--gdwarf2' in KBUILD_AFLAGS, so
> this setting is no longer needed in arch makefiles.
> 
> Cc: David Howells <dhowells@redhat.com>
> Signed-off-by: Geoff Levand <geoff@infradead.org> for Huawei, Linaro
> ---
>  arch/mn10300/Makefile | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/mn10300/Makefile b/arch/mn10300/Makefile
> index a3d0fef..f5a9db9 100644
> --- a/arch/mn10300/Makefile
> +++ b/arch/mn10300/Makefile
> @@ -97,7 +97,6 @@ endef
>  # that are unhelpful whilst debugging.
>  ifdef CONFIG_DEBUG_INFO
>  #KBUILD_CFLAGS	+= -O1
> -KBUILD_AFLAGS	+= -Wa,--gdwarf2
>  endif

This leaves only a commented-out assignment in the ifdef block. Just
remove it completely together with the outdated comment above. Same for
the frv Makefile.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/mn10300/Makefile b/arch/mn10300/Makefile
index a3d0fef..f5a9db9 100644
--- a/arch/mn10300/Makefile
+++ b/arch/mn10300/Makefile
@@ -97,7 +97,6 @@  endef
 # that are unhelpful whilst debugging.
 ifdef CONFIG_DEBUG_INFO
 #KBUILD_CFLAGS	+= -O1
-KBUILD_AFLAGS	+= -Wa,--gdwarf2
 endif
 
 #