Received: by 10.223.164.202 with SMTP id h10csp533085wrb; Wed, 8 Nov 2017 22:18:21 -0800 (PST) X-Google-Smtp-Source: ABhQp+QHA0B8RmpkyluqobAhteDmz4GqGV1cThLOLQtRuZ/iZ8K4ob3cV2a5wMP+zie8NZxZ5bsj X-Received: by 10.84.132.42 with SMTP id 39mr2759645ple.382.1510208301374; Wed, 08 Nov 2017 22:18:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510208301; cv=none; d=google.com; s=arc-20160816; b=Q24LxdeQ2Pgmq5mc9CN8QVaE6R/mDuWzQk9J/mJq+fM7Op2kdYxdySNNSvp/tQiiEz VKTAl/VsT93/gyxVnMKBwFhIippggh00rCvOwSGxXvVTByXOwM63gSLALwgrGSFW1gg6 86I+H3ly6SHwKhMW5vYwRBVki3QijmSgsF7TqhTRcPwGiM6dAGPQPC84/znF7b+K+XlM gqSV7ZeYijTyU8hDSoo+kO9dKEuaAuq9XxuMZe4iCn2i9/t/wh6BOsBhsf3gAEtmVPde 42KKYtQodxajQqqRuTkRoeua6hI0RFSRODNYqsxu8GUcvYJJ2ZJwp1AHIl3uO5o7OySk glmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ZvbvMY7+DkE8Ceba5KUMtMnPP83LkfNgvVNUjbkNBGM=; b=fJT7yqhO5q+D34FnJmGc/flCCEeI0aPu92QAfjTponfwndLou2pLZ6IUmLWdpEAAKi EfnBYgiadUUFEHjpflsaFL0t3h/sD6OP71AOliSCutb5IEs7Fbwdnhz0prtKl6H34wUa tynRYHcTVtQg/FX35xe1I8BcKwiipGyvGifeli5JqKHgVv98T3eCjGip0rSjuAtFTMdN DKh1bFVh4134VPaMhnFig1BJgjZVINIayG6jjNvEWq2iILXITZcNx/WEYt7VjgPdH0TW v/LzO38sEGDPvZ8P2PNDFAn53AVSv4TyzP/+vGsIAM2dZ1SSQnnC1e1TO3p5MK8uFWM4 OuXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RFyjIHeN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si5366842pld.27.2017.11.08.22.18.10; Wed, 08 Nov 2017 22:18:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RFyjIHeN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752543AbdKIGRX (ORCPT + 82 others); Thu, 9 Nov 2017 01:17:23 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:55332 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256AbdKIGRC (ORCPT ); Thu, 9 Nov 2017 01:17:02 -0500 Received: by mail-wm0-f68.google.com with SMTP id b189so359643wmd.4; Wed, 08 Nov 2017 22:17:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZvbvMY7+DkE8Ceba5KUMtMnPP83LkfNgvVNUjbkNBGM=; b=RFyjIHeNF3yU/gaPMWRgb8HsINxHLUahnWieHZ0Se5tgjMfRBdESjyxJoeqdRPWXZ0 EyHL5Jx+E6W+o2huGhbGiesv+TPNQrGww5O7bCgJLTGHVBQvCPPS3Hk9R31yDt+eOmO6 9SkBgVFrXFyxJhFH26PgEgNRcT6/Kv23gjrbC8AszPI40vumqlYRIZikkaXa3BwlzHvF jRTKdVeXx7RMvyeho3/FnTrsj/LgqxPwA79He+5zX1VE53xjkdfi2156A4LbV898k08/ 5E1Umtn2CEvV1sup5egMzonckugxg15k8/1stFFevU3E+98MpPj2IaTDMQAZvsa+0IU3 r0sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZvbvMY7+DkE8Ceba5KUMtMnPP83LkfNgvVNUjbkNBGM=; b=NuA+OOXFFtb98gwV6DM5q8/j3sTlaCxWXkstnHu9vEMFpfPmNdd5x7DKaJx6BRAqOk APoqrxOMkDobPC5Vat3CBfiF+X0DPveocsJKzRGKIg7dmcDLvKJ06WQWEqZsZccfwmdG 6BWymTE1xLYMInccd38PHyhSxO6tZa9amPWWnzRcccuBQNQpzHfBYxxaC4F9Wl2UPa/+ wXTLGuBB59kaONn8yY4MIDnFxiI/9GUAikot7NA+z5Bf2CY5wc8lnkmcX/lShv2hMc0k uvZhucoZ1Rwh+69Q/Nd0qrpfsK7hnqLoc6swjttdN7bsz4nLBL32kxpAuJ03TXRuwgTX ++DQ== X-Gm-Message-State: AJaThX4kQKlPVrAb3HsBi9pEvfQh4RxsX2azNdLebwii8PvuFlXBQU+D pC04kRBmYAuqQnHGVc65HBw= X-Received: by 10.80.149.221 with SMTP id x29mr3757660eda.4.1510208221694; Wed, 08 Nov 2017 22:17:01 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:40c4:1100:182b:88ec:6996:f149]) by smtp.gmail.com with ESMTPSA id o64sm4979486edb.14.2017.11.08.22.17.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Nov 2017 22:17:01 -0800 (PST) From: Luc Van Oostenryck To: "David S . Miller" Cc: Luc Van Oostenryck , Sam Ravnborg , 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 Message-Id: <20171109061652.14948-2-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.14.0 In-Reply-To: <20171109061652.14948-1-luc.vanoostenryck@gmail.com> References: <20171109061652.14948-1-luc.vanoostenryck@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --- 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 From 1583347383254401477@xxx Mon Nov 06 19:48:53 +0000 2017 X-GM-THRID: 1583347383254401477 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread