From patchwork Sat Aug 10 15:52:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11088605 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2A94F14E5 for ; Sat, 10 Aug 2019 15:55:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 154ED26E3C for ; Sat, 10 Aug 2019 15:55:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 050C326E3E; Sat, 10 Aug 2019 15:55:25 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 990FA26E3C for ; Sat, 10 Aug 2019 15:55:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726464AbfHJPzY (ORCPT ); Sat, 10 Aug 2019 11:55:24 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:35281 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726382AbfHJPzY (ORCPT ); Sat, 10 Aug 2019 11:55:24 -0400 Received: from grover.flets-west.jp (softbank126125143222.bbtec.net [126.125.143.222]) (authenticated) by conuserg-11.nifty.com with ESMTP id x7AFrG8t009713; Sun, 11 Aug 2019 00:53:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x7AFrG8t009713 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1565452398; bh=oC63xap+fxhG9bzK+JnNTDD45f6COtr1Al2zhD2RQ+A=; h=From:To:Cc:Subject:Date:From; b=QRz/HTl63qVrVTBqUg3+u+Dklu40WD9vhseAg4FJ5HltnTHBLjXl/xoo5p1cQaowl 2SbyyKz6G7ZsMJeOXEA1NevVxbw2p+BDy/WnSkiGXuEA8IgxM1gdqq6ice3Ocpq8eG 5wXh9rypOSc3FpReWjYOlzm3Km8ISSl797/j2PotFFDP+ITNphwWGF3gG228KXZvdG +DVWRjSfCcxV3fRTy1RJ0wQdZscJUJ5+1TJZJaHNd8uMtPN+M3SdbsN1J4ccjmajk2 cIYJpMIbPJ+XhO4NJWNrvdbI0WoXHgjzeKYJeWuRXa6Z+LV1DjB1lJNEZuuv10GMZH PfGev3kUnpmsw== X-Nifty-SrcIP: [126.125.143.222] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Christoph Hellwig , Sam Ravnborg , Masahiro Yamada , Alexei Starovoitov , Boris Pismenny , Daniel Borkmann , "David S. Miller" , Igor Russkikh , Jakub Kicinski , Leon Romanovsky , Martin KaFai Lau , Michal Marek , Saeed Mahameed , Song Liu , Yonghong Song , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, oss-drivers@netronome.com Subject: [PATCH 00/11] kbuild: clean-ups and improvement of single targets Date: Sun, 11 Aug 2019 00:52:56 +0900 Message-Id: <20190810155307.29322-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 01/11-09/11 are trivial clean-ups. 10/11 makes the single targets work more correctly. 11/11 cleans up Makefiles that have been added to work aroud the single target issues. Masahiro Yamada (11): kbuild: move the Module.symvers check for external module build kbuild: refactor part-of-module more kbuild: fix modkern_aflags implementation kbuild: remove 'make /' support kbuild: remove meaningless 'targets' in ./Kbuild kbuild: do not descend to ./Kbuild when cleaning kbuild: unset variables in top Makefile instead of setting 0 kbuild: unify vmlinux-dirs and module-dirs rules kbuild: unify clean-dirs rule for in-kernel and external module kbuild: make single targets work more correctly treewide: remove dummy Makefiles for single targets Kbuild | 7 - Makefile | 193 ++++++++++-------- .../aquantia/atlantic/hw_atl/Makefile | 2 - .../mellanox/mlx5/core/accel/Makefile | 2 - .../ethernet/mellanox/mlx5/core/diag/Makefile | 2 - .../ethernet/mellanox/mlx5/core/en/Makefile | 2 - .../mellanox/mlx5/core/en/xsk/Makefile | 1 - .../mellanox/mlx5/core/en_accel/Makefile | 2 - .../ethernet/mellanox/mlx5/core/fpga/Makefile | 2 - .../mellanox/mlx5/core/ipoib/Makefile | 2 - .../ethernet/mellanox/mlx5/core/lib/Makefile | 2 - .../net/ethernet/netronome/nfp/bpf/Makefile | 2 - .../ethernet/netronome/nfp/flower/Makefile | 2 - .../ethernet/netronome/nfp/nfpcore/Makefile | 2 - .../netronome/nfp/nfpcore/nfp6000/Makefile | 2 - .../net/ethernet/netronome/nfp/nic/Makefile | 2 - scripts/Makefile.build | 55 +++-- 17 files changed, 149 insertions(+), 133 deletions(-) delete mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl/Makefile delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/diag/Makefile delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/Makefile delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/Makefile delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_accel/Makefile delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/fpga/Makefile delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/ipoib/Makefile delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lib/Makefile delete mode 100644 drivers/net/ethernet/netronome/nfp/bpf/Makefile delete mode 100644 drivers/net/ethernet/netronome/nfp/flower/Makefile delete mode 100644 drivers/net/ethernet/netronome/nfp/nfpcore/Makefile delete mode 100644 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000/Makefile delete mode 100644 drivers/net/ethernet/netronome/nfp/nic/Makefile