From patchwork Thu Sep 23 06:51:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: matt mooney X-Patchwork-Id: 201372 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8N6vxLk022342 for ; Thu, 23 Sep 2010 06:57:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753105Ab0IWG57 (ORCPT ); Thu, 23 Sep 2010 02:57:59 -0400 Received: from qmta07.emeryville.ca.mail.comcast.net ([76.96.30.64]:45390 "EHLO qmta07.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753083Ab0IWG57 (ORCPT ); Thu, 23 Sep 2010 02:57:59 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 23 Sep 2010 06:58:00 +0000 (UTC) X-Greylist: delayed 347 seconds by postgrey-1.27 at vger.kernel.org; Thu, 23 Sep 2010 02:57:59 EDT Received: from omta05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by qmta07.emeryville.ca.mail.comcast.net with comcast id A6iy1f0090vp7WLA76sCuz; Thu, 23 Sep 2010 06:52:12 +0000 Received: from haskell.muteddisk.com ([98.239.78.58]) by omta05.emeryville.ca.mail.comcast.net with comcast id A6sA1f00E1FUwZe8R6sBA7; Thu, 23 Sep 2010 06:52:11 +0000 Received: by haskell.muteddisk.com (Postfix, from userid 1000) id 3171C412AC; Wed, 22 Sep 2010 23:51:23 -0700 (PDT) From: matt mooney To: Paul Mundt Cc: Magnus Damm , Matt Fleming , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH 14/20] sh: change to new flag variable Date: Wed, 22 Sep 2010 23:51:21 -0700 Message-Id: <1285224681-29933-1-git-send-email-mfm@muteddisk.com> X-Mailer: git-send-email 1.6.4.2 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org diff --git a/arch/sh/cchips/hd6446x/Makefile b/arch/sh/cchips/hd6446x/Makefile index 9682e3a..59c3483 100644 --- a/arch/sh/cchips/hd6446x/Makefile +++ b/arch/sh/cchips/hd6446x/Makefile @@ -1,3 +1,3 @@ obj-$(CONFIG_HD64461) += hd64461.o -EXTRA_CFLAGS += -Werror +ccflags-y := -Werror diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index e25f3c6..b308391 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile @@ -44,4 +44,4 @@ obj-$(CONFIG_HAS_IOPORT) += io_generic.o obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += localtimer.o -EXTRA_CFLAGS += -Werror +ccflags-y := -Werror diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile index dab4d21..7b95f29 100644 --- a/arch/sh/lib/Makefile +++ b/arch/sh/lib/Makefile @@ -30,4 +30,4 @@ lib-$(CONFIG_MMU) += copy_page.o __clear_user.o lib-$(CONFIG_MCOUNT) += mcount.o lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y) -EXTRA_CFLAGS += -Werror +ccflags-y := -Werror diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile index 53f7c68..939663c 100644 --- a/arch/sh/mm/Makefile +++ b/arch/sh/mm/Makefile @@ -66,4 +66,4 @@ CFLAGS_fault_64.o += -ffixed-r7 \ -ffixed-r60 -ffixed-r61 -ffixed-r62 \ -fomit-frame-pointer -EXTRA_CFLAGS += -Werror +ccflags-y := -Werror