From patchwork Tue Jan 28 01:48:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 3544871 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 764969F2E9 for ; Tue, 28 Jan 2014 01:48:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98CB12011E for ; Tue, 28 Jan 2014 01:48:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6A0520121 for ; Tue, 28 Jan 2014 01:48:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753459AbaA1Bst (ORCPT ); Mon, 27 Jan 2014 20:48:49 -0500 Received: from merlin.infradead.org ([205.233.59.134]:43905 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751121AbaA1Bst (ORCPT ); Mon, 27 Jan 2014 20:48:49 -0500 Received: from 107-1-141-74-ip-static.hfc.comcastbusiness.net ([107.1.141.74] helo=[192.168.254.170]) by merlin.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux)) id 1W7xnE-00085V-I4; Tue, 28 Jan 2014 01:48:48 +0000 Message-ID: <1390873727.5027.56.camel@smoke> Subject: [PATCH V2 3/3] mn10300: Remove redundant debugging info flag From: Geoff Levand To: Michal Marek Cc: linux-kbuild@vger.kernel.org, David Howells Date: Mon, 27 Jan 2014 17:48:47 -0800 In-Reply-To: <52E6CAD7.2020208@suse.cz> References: <52E6CAD7.2020208@suse.cz> X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The generic makefile now sets '-Wa,--gdwarf2' in KBUILD_AFLAGS, so this setting is no longer needed in arch makefiles. Also remove a commented out addition of a -O1 to KBUILD_CFLAGS, and comment text relating to these removed lines. Cc: David Howells Signed-off-by: Geoff Levand for Huawei, Linaro --- v2: Removed unused CONFIG_DEBUG_INFO conditional and related text comment. arch/mn10300/Makefile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/mn10300/Makefile b/arch/mn10300/Makefile index a3d0fef..3f1ea5d 100644 --- a/arch/mn10300/Makefile +++ b/arch/mn10300/Makefile @@ -92,14 +92,6 @@ define archhelp echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' endef -# If you make sure the .S files get compiled with debug info, -# uncomment the following to disable optimisations -# that are unhelpful whilst debugging. -ifdef CONFIG_DEBUG_INFO -#KBUILD_CFLAGS += -O1 -KBUILD_AFLAGS += -Wa,--gdwarf2 -endif - # # include the appropriate processor- and unit-specific headers #