From patchwork Thu Jul 12 08:01:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 141794 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1212253ljj; Thu, 12 Jul 2018 01:03:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfr2CfHum/FhaE9Bi1Hv1nmdXYH2Ye8ypdL3t1McSXCDwXxJWzE7HDs3UuGjThv+5B+TJni X-Received: by 2002:a62:d10b:: with SMTP id z11-v6mr1248675pfg.255.1531382609295; Thu, 12 Jul 2018 01:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531382609; cv=none; d=google.com; s=arc-20160816; b=cnxmttdtsy+tfKivgzBOULl3xZhH2ICiFme3Y8oJkPGVQXVm8GaC5H6N94lHYAS3r2 UdxshFOvCLnm367zRAfx/oxUsD53Uk2zCOp1nIKii0dRDEfjcUEz8Xvit/F50oFhnreJ Iy/GBKjLUahdeTe+bN31Qu1W0bOv0aE7spTVtB7l+LerCh9EbGq7dpnVmuaz8ruCnkwa +AtZEwGDQ3cXeZDQ0w94VzZXGehLiiKO6SQL0d8DUcTUycq1viKTFBiaPe7JQrDsvcaE NMUE9hofFWqRVB1ZRhgtK20U6+ltVa7mfbkf8fyvxJvyx+eTgUyfIww+MPJ7B6p7+zPU O7tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=oHPMtn1maAPdf5s1G4yfmUzHxpHQ1UlHhwhFDZaST9o=; b=Ja450Fl13OEymahtMwuadXwQM1L2HKAltwXW+I9lSAGHRwYK5qklTTtpu9sPksMiL5 d5Ix9l8oQaw7OS0nqxcx2n3ccNEo/orsBm5BUSk4Hfdu19s9diLestc4u/1unc3nq4iY ElXqRCi8gYPku9nXDfrLoxK/y+ShdtJJa1UAqkSHPqq1H8hwi5aAmnId4Zm4FE/UAYRl Yc9suqz39M/btG/Zv8w4zxFCUvBo+VNAlK5wxVsgBqrtiCljfrL0SirucvR3v5pZ+O3C MgZWBAAmRSKx7hlJw6EIQohUgTz0sV85zwuckVt7Lj0cyr/keN/K7ZqLunQJUDR3HD2W ffIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=byYKGzRl; 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.29; Thu, 12 Jul 2018 01:03:29 -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=byYKGzRl; 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 S1732333AbeGLILq (ORCPT + 28 others); Thu, 12 Jul 2018 04:11:46 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:56352 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726434AbeGLILo (ORCPT ); Thu, 12 Jul 2018 04:11:44 -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 w6C81cQf012716; Thu, 12 Jul 2018 17:01:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w6C81cQf012716 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531382500; bh=oHPMtn1maAPdf5s1G4yfmUzHxpHQ1UlHhwhFDZaST9o=; h=From:To:Cc:Subject:Date:From; b=byYKGzRljFTHKMojv2RgD3fQ5as7vYJqxfROaj0GqhuDlDNWCRuXxi71sP7hbV/Kr zCNGEl17CxuoA83mlOYISZa6TgjDYca21u2NZzjZGmO5nFWIFSFaXlQgstt2uy35DY HIQWRae12CSqAHrMtUSABX6UX0J21AOn3bJq6peOGLKAiPUHKDNQssQQ2XGp2F6dJo XW0ZPG98badM8Uwmsaf0zywcDR8nhWolPZbZG5P5jVHqDmWznu3cz8lnhmQ8/hMZHe 5vEl6cwe0yEqv6zo8zlE/uUkPAdZCFxpo1+qBvYZ1I1lH09HZFzbMV0akq21LnQSEv jVDP1mly+U/Cg== 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 0/6] kbuild: clean-up and rename LDFLAGS to KBUILD_LDFLAGS Date: Thu, 12 Jul 2018 17:01:30 +0900 Message-Id: <1531382496-3719-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series renames LDFLAGS to KBUILD_LDFLAGS after some Makefile cleanups. Currently, the last patch does not apply to Linus' tree due to missing pre-requisite patches. I will resolve conflicts as needed. Masahiro Yamada (6): um: remove redundant 'export LDFLAGS' in arch/x86/Makefile.um ARM: vfp: clean-up arch/arm/vfp/Makefile kbuild: remove redundant LDFLAGS clearing in arch/*/Makefile kbuild: replace $(LDFLAGS) $(ldflags-y) with $(ld_flags) kbuild: change ld_flags to contain LDFLAGS_$(@F) kbuild: rename LDFLAGS to KBUILD_LDFLAGS Makefile | 6 +++--- arch/arc/Makefile | 2 +- arch/arm/Makefile | 7 ++----- arch/arm/vfp/Makefile | 5 +---- arch/arm64/Makefile | 4 ++-- arch/c6x/Makefile | 3 +-- arch/h8300/Makefile | 2 +- arch/hexagon/Makefile | 4 +--- arch/m68k/Makefile | 2 +- arch/microblaze/Makefile | 4 ++-- arch/mips/Makefile | 2 +- arch/mips/boot/compressed/Makefile | 2 +- arch/mips/lasat/image/Makefile | 2 +- arch/nds32/Makefile | 4 ++-- arch/openrisc/Makefile | 1 - arch/powerpc/Makefile | 6 +++--- arch/riscv/Makefile | 5 ++--- arch/s390/Makefile | 2 +- arch/sh/Makefile | 4 ++-- arch/sparc/Makefile | 4 ++-- arch/um/Makefile | 2 +- arch/um/drivers/Makefile | 4 ++-- arch/x86/Makefile | 4 ++-- arch/x86/Makefile.um | 4 +--- arch/x86/boot/compressed/Makefile | 6 +++--- arch/xtensa/Makefile | 2 +- arch/xtensa/boot/boot-elf/Makefile | 2 +- scripts/Kbuild.include | 4 ++-- scripts/Makefile.build | 4 ++-- scripts/Makefile.lib | 5 ++--- scripts/Makefile.modpost | 2 +- 31 files changed, 48 insertions(+), 62 deletions(-) -- 2.7.4 Acked-by: Kirill A. Shutemov