linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: "David S . Miller" <davem@davemloft.net>
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>,
	Sam Ravnborg <sam@ravnborg.org>,
	sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 1/2] sparc: use a common CHECKFLAGS entry for common flags
Date: Thu,  9 Nov 2017 07:16:51 +0100	[thread overview]
Message-ID: <20171109061652.14948-2-luc.vanoostenryck@gmail.com> (raw)
In-Reply-To: <20171109061652.14948-1-luc.vanoostenryck@gmail.com>

---
 arch/sparc/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
index 8496a074b..a42aa114e 100644
--- a/arch/sparc/Makefile
+++ b/arch/sparc/Makefile
@@ -14,12 +14,13 @@ else
         KBUILD_DEFCONFIG := sparc64_defconfig
 endif
 
+CHECKFLAGS     += -D__sparc__
+
 ifeq ($(CONFIG_SPARC32),y)
 #####
 # sparc32
 #
 
-CHECKFLAGS     += -D__sparc__
 LDFLAGS        := -m elf32_sparc
 export BITS    := 32
 UTS_MACHINE    := sparc
@@ -38,7 +39,7 @@ else
 # sparc64
 #
 
-CHECKFLAGS    += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64
+CHECKFLAGS    += -D__sparc_v9__ -D__arch64__ -m64
 LDFLAGS       := -m elf64_sparc
 export BITS   := 64
 UTS_MACHINE   := sparc64
-- 
2.14.0

  reply	other threads:[~2017-11-09  6:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-09  6:16 [PATCH v2 0/2] sparc: pass endianness info to sparse Luc Van Oostenryck
2017-11-09  6:16 ` Luc Van Oostenryck [this message]
2017-11-09  6:16 ` [PATCH v2 2/2] " Luc Van Oostenryck
2017-11-09  8:34   ` Christoph Hellwig
2017-11-09 13:13     ` Luc Van Oostenryck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171109061652.14948-2-luc.vanoostenryck@gmail.com \
    --to=luc.vanoostenryck@gmail.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).