Message ID | 1531876067-4957-1-git-send-email-yamada.masahiro@socionext.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 5FE53602C2 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 18 Jul 2018 01:08:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57EE72901C for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 18 Jul 2018 01:08:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C66429193; Wed, 18 Jul 2018 01:08:42 +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 ED26F2901C for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 18 Jul 2018 01:08:41 +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: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:In-Reply-To: References:List-Owner; bh=K0brwWBrSHIPMzLsZVqRsgJfhKuxEySWkMhz91jicbc=; b=ah0 fBY9NXaONMjVrILGkWgEIwcGVf0fmOWy3vVIn6TqSRLRSWM0LaKrkTqdjbywUXOfRyPd2oX7h/PXy L2bZ3XnT6GGt0e3CSTQGZ81EKbxvKdvpYbGz0Bn1XdWNJy9XwAr9tjiulkDRk4tT/EZeHTXiKQCTp RDJEJiZEP+B8P1cybRj0aPCnjeVW7KSV1o9sA626cUjSRy1A55U5igmaTLiz2WlRw6LQJNJYo+pm/ s7jx6cTmQzjbJfkBepcLfqchAJ6Ed8FLZ/z0XAPJIxJnCRZfFTc8HQq3u4EIQ8wgWZQd4AsvG0h5V YslEpCC9a3qpxwPKtg3ghEiUYz4M3mQ==; 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 1ffaxJ-0004af-EE; Wed, 18 Jul 2018 01:08:37 +0000 Received: from conuserg-08.nifty.com ([210.131.2.75]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffaxF-0004X9-QV for linux-arm-kernel@lists.infradead.org; Wed, 18 Jul 2018 01:08:35 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id w6I17q0A020074; Wed, 18 Jul 2018 10:07:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w6I17q0A020074 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531876073; bh=6rxPc8h80nyfQN75YjeoUAlslPDhEgktmJCc4d0it38=; h=From:To:Cc:Subject:Date:From; b=1AoBfSAVNBDy/QMBX8kFdwfLPh4pbyMqRkoVESZFT3RKiLJVSyh3fTVl1qGkeM0zt XO5MxGkviVOPaQJYCA15KnbADpUM3AfictD+FO3QI/ElqHFORPZJ73pQhc77Eq+neN PUQHwrL60t+G+/KrtrcnE7Q6f+mDsthW6c5gzUSfYRzQ8VfNVeIofTt645BF0XwTQr I84fXvFDRJvJmcJLW0dVQv/Y13lucSsQRzHsRQ54so2n4CRTXnMWcuEIxkTsMibYKG m6OPBX7mTgA96FN8CVBucRvBZUZ9ABNylfATlLzowkBan5IA/yXDyTyX8drGG1GNwn ZuIGzEhgCIZkQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: patches@arm.linux.org.uk Subject: [PATCH] ARM: vfp: clean up arch/arm/vfp/Makefile Date: Wed, 18 Jul 2018 10:07:47 +0900 Message-Id: <1531876067-4957-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180717_180834_089217_20F407E5 X-CRM114-Status: UNSURE ( 8.34 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>, Russell King <linux@armlinux.org.uk>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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
Since commit 799c43415442 ("kbuild: thin archives make default for all archs"), $(AR) is used instead of $(LD) to combine object files. The following code in arch/arm/vfp/Makefile: LDFLAGS +=--no-warn-mismatch ... is no longer used. Also, 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. There is no point to use pseudo object, vfp.o, which never becomes a module. Add all objects to obj-y directly. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- KernelVersion: v4.18-rc5 arch/arm/vfp/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)