From patchwork Thu Jul 12 08:01:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 141793 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1212162ljj; Thu, 12 Jul 2018 01:03:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpebg/yi4BGTi5xvpq/AaJR+xRp8ToP35GDqE5RtSRRGSHRDx098f7oNyRgrDx9SV7Xeygsm X-Received: by 2002:a65:52cc:: with SMTP id z12-v6mr1150365pgp.69.1531382603957; Thu, 12 Jul 2018 01:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531382603; cv=none; d=google.com; s=arc-20160816; b=bX9qYixmk4+sFdmFolOGT9e8IsPQ23hotk2IAt7HQg97njoJkzV7xn1USAtBJtgIZj dyBNO1tZSEAZIpuhV4/Xd2zZ0KlX1Stls3fqPYbk4o0Fq62dsNhvOZi25DJLRH7mdKFD LBHHOMYmiDOoF5tF5EMBZ5w0rdwb2QkDiRBEHbmgRjYrs52B8nGGro6gjjuA2oQc6mbg W+5CzkU9S3ck0QRyDDQeazK4m2G4Ig2DXh1T6eRzWXo/YcNP1r7Cey5iczgOxlQiB7AC CLgLXQB1RWbatI/VWKowA/lXvRd9NiLJctA5MRPuTvkl6e+CHkJt6t5Iai+IzhUVDZxJ SIjw== 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:dkim-filter :arc-authentication-results; bh=xh77N21cq8p0dbTYcvt3+FJe0KgbUffxhLCzpU9y6ak=; b=VyofhA/3xhCOVHgFe4VDH7cQHXwZO2yhXRSdep5taQ45HAQx6+EMvSNrTb83YmDPhr /Yn12gzF1WKP3cavvt9x//m7CN0zW2IDxEgzaspURQi4u7pK2nLcdviG4zFmAi5GWJNH BnnXyrCJWZswJh8cLe0FNoPGYLKyUgmjkg2Ig85cWNkJBE7nH1GJIVxMBOwmzjT1I/S5 S/dWg4rvQ4FB6sSt5bie7fPihsyoSnSMhg4p//OWmccSnlC18xonwYKw5DKffNs4yQG5 y89B6oZJ+2aB6uTsdAYjT713RdNHF1RBGgxtQ0wIYydD6VlVeu6gOhForcT2P8aW1HAi bfkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Z8rwWKqh; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11-v6si20409340pll.89.2018.07.12.01.03.23; Thu, 12 Jul 2018 01:03:23 -0700 (PDT) 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=@nifty.com header.s=dec2015msa header.b=Z8rwWKqh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732373AbeGLILq (ORCPT + 28 others); Thu, 12 Jul 2018 04:11:46 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:56386 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726622AbeGLILp (ORCPT ); Thu, 12 Jul 2018 04:11:45 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w6C81cQi012716; Thu, 12 Jul 2018 17:01:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w6C81cQi012716 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531382503; bh=xh77N21cq8p0dbTYcvt3+FJe0KgbUffxhLCzpU9y6ak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z8rwWKqhSGSawIXHARLwPA0P4ud6nBlM4NlLIGlQqFDlb7nKte6tIj6aFwg8Kc0SU GX9yGXCsvOHpVm5/Q4Dm8btptn/p8WDgb6GPpFSEexSr3II22eilNtC6UB2WHqV3MK UiEIr0Unx7shhHkedRclR+nTus8FN6+HdVWQTkJL1axweHK3eSUpuiIKPhss2Sx4Ve cMCnzvRrnGGAZVnw4e1OF6MuW/sSm2mtGv6F/LutHf5WVAUr+aSqt6aeXMZhSl5CCF gtwabutoyTyfxeB1fV68WEofZU4GHomIDdXQpLPTL0wusXuObSfuqcp/fPmnlGlUMg AW0hkYLZqRe2g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Richard Weinberger , x86@kernel.org, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , openrisc@lists.librecores.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, Jeff Dike , "Kirill A . Shutemov" , Masahiro Yamada Subject: [PATCH 3/6] kbuild: remove redundant LDFLAGS clearing in arch/*/Makefile Date: Thu, 12 Jul 2018 17:01:33 +0900 Message-Id: <1531382496-3719-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531382496-3719-1-git-send-email-yamada.masahiro@socionext.com> References: <1531382496-3719-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit ce99d0bf312d ("kbuild: clear LDFLAGS in the top Makefile"), the top-level Makefile caters to this. Signed-off-by: Masahiro Yamada --- arch/arm/Makefile | 3 --- arch/openrisc/Makefile | 1 - arch/riscv/Makefile | 1 - 3 files changed, 5 deletions(-) -- 2.7.4 diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 62ebeae..e7d703d 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -10,9 +10,6 @@ # # Copyright (C) 1995-2001 by Russell King -# Ensure linker flags are correct -LDFLAGS := - LDFLAGS_vmlinux :=-p --no-undefined -X --pic-veneer ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) LDFLAGS_vmlinux += --be8 diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile index 89076a6..70e06d3 100644 --- a/arch/openrisc/Makefile +++ b/arch/openrisc/Makefile @@ -19,7 +19,6 @@ KBUILD_DEFCONFIG := or1ksim_defconfig -LDFLAGS := OBJCOPYFLAGS := -O binary -R .note -R .comment -S LDFLAGS_vmlinux := LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 6d4a5f6c..2627e48 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -8,7 +8,6 @@ # for more details. # -LDFLAGS := OBJCOPYFLAGS := -O binary LDFLAGS_vmlinux := ifeq ($(CONFIG_DYNAMIC_FTRACE),y)