From patchwork Thu Jul 12 08:01:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10521161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E2826602C8 for ; Thu, 12 Jul 2018 08:02:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B72B728531 for ; Thu, 12 Jul 2018 08:02:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9086294C9; Thu, 12 Jul 2018 08:02:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D86CE28531 for ; Thu, 12 Jul 2018 08:02:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=oOsHCvjfkBtdQT0GaP1nNDTPOMBjwyvktvvwn52H8sc=; b=BJTGAw31udi6sGmNF69BVTUgT/ P4T/ZZ2nYU4qkJrs3DP+oygnOlAyn5SdxNG65tEtAK6ToNOSJlsIeqsxq2PUl8HxPfON5Z/BNtw7e DEyzLm8lEaF2GpYveTycqg8BeR8iW8PY8N/FYTfV+V2BmilAF9aA7+y+Zh6U6hdyJ7sBzOXso5JFh EJR2EXo/NVg1R+0xcQWG4i2ETyyj+xc4Uol0nb+ZKQY+YjsPpea0s2SHz2h61JmhEH4IN6L3zJZA6 DrrVuWHQb6Da6pclwqI/OLZ3Pw3iSMLPUPRBqts9NaWwZJUhZFgmjFK37Tk9bGf/Xgdq9lTa2JluT 70ZK/RHg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdWYT-0000m4-No; Thu, 12 Jul 2018 08:02:25 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdWYQ-0000c3-3V; Thu, 12 Jul 2018 08:02:24 +0000 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 w6C81cQh012716; Thu, 12 Jul 2018 17:01:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w6C81cQh012716 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531382502; bh=EG0KJF1GpFZUkaiy9xjSIY+ixmP/0UjyRpBm3mH+Qm0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uAQoZIXAmyr4leAyZZA4N6MLG1D830VjkOeumcOl10FHCTBx9LhN/nG1StGpgTkem j/OhcHtQkFFOw+ZEJHYZxU8Z2FcUnW4J9H76AjNjrNZHsPmGzSETYeWz4M3JaMRNNE AoUXVVERud74oEO4HdnLhpC9NGRB20s0FMqLIHjllNIay6BWzdgcjYE3WE+3GN6qVG QVOeOuxb2qvIQVzydshCHgxrqmnfA8VCKafuy03pNovcy9JOiNoTmltLJttMcXMAdp C4Nivy31D5/8W7o8g6ct8dgtI2f0xk4wfjqWQu9g3UBJkBUPnPVGcmcTVsHeNEpPSM T4dePa+1PnJEw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Subject: [PATCH 2/6] ARM: vfp: clean-up arch/arm/vfp/Makefile Date: Thu, 12 Jul 2018 17:01:32 +0900 Message-Id: <1531382496-3719-3-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180712_010222_530478_0645FE5B X-CRM114-Status: UNSURE ( 7.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , Jeff Dike , x86@kernel.org, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Russell King , openrisc@lists.librecores.org, "Kirill A . Shutemov" , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit 799c43415442 ("kbuild: thin archives make default for all archs"), $(AR) is used instead of $(LD) to combine object files. LDFLAGS +=--no-warn-mismatch ... is unused code now. arch/arm/Makefile already guards arch/arm/vfp/ by a boolean symbol, CONFIG_VFP, like this: core-$(CONFIG_VFP) += arch/arm/vfp/ ..., so $(CONFIG_VFP) is always evaluated to y in arch/arm/vfp/Makefile. Also, there is no point to use pseudo object, vfp.o, which never becomes a module. Add all objects directly to obj-y. Signed-off-by: Masahiro Yamada --- arch/arm/vfp/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/vfp/Makefile b/arch/arm/vfp/Makefile index a81404c..94516c4 100644 --- a/arch/arm/vfp/Makefile +++ b/arch/arm/vfp/Makefile @@ -8,8 +8,5 @@ # asflags-y := -DDEBUG KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp -mfloat-abi=soft) -LDFLAGS +=--no-warn-mismatch -obj-y += vfp.o - -vfp-$(CONFIG_VFP) += vfpmodule.o entry.o vfphw.o vfpsingle.o vfpdouble.o +obj-y += vfpmodule.o entry.o vfphw.o vfpsingle.o vfpdouble.o