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: 171030 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp696998ily; Sat, 10 Aug 2019 08:55:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIesQPBIFTmiz5qFJ47wVjRl6FqpwV5boWAiRrWcC7DNmB6ye+3g29J9ZxRFImfgHpxQsN X-Received: by 2002:a17:902:9897:: with SMTP id s23mr24471604plp.47.1565452526412; Sat, 10 Aug 2019 08:55:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565452526; cv=none; d=google.com; s=arc-20160816; b=q7urr07N+0r3T3UwfDx6MhDZ4CsbQKkYii1X9nKTw9S8bDH8LFhCFvnAE9v43UHfo3 ZOtYn+TljeTsLp02W3qBDowrq53fHwfdotAZnmP4S16r1Cj2Fzgm2uK8DlUf5KMmgLJv btVTKsX30BHUy4hRjVqnzlAEygMeFXoYELbOFKaQgLY8TDm79p5ROdJfT+o3FM0+9vxZ vV5dAVKnSPBOKLJrXe3Ep8LvNFSK+l0w7lHpZ6RJ16lVT+esTx4ZjZDnX5QJeq7T9Xxn wPiN37kUnHtZ70i0xFB4JX07f4y1uwkg1ZgtKZhG6+nF0H9FZbe0I2sYabbAmKXdXjFv uAXA== 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; bh=oC63xap+fxhG9bzK+JnNTDD45f6COtr1Al2zhD2RQ+A=; b=HEOPEn4sOFvHq3sm8eGl1Dhh3o5yxGqR3LaILW4am0ez5Os7OzKV9Tt3cmPrm/Szci Z2XGOKNORiIXQxGcEmM6BOki+OA7PnDQVak7Z5wzPJUuy3miPKR3aamkyP79g2yKRNsz JumpjkSgzypmt2ZDmjTLnMLN/7exAeoqSQ6La65/2QY7vljXtFWsmMmHjvTgfzMZUBzs 1rzfj1dRvLE2cClWKn9epSkAXzI4xPPBvyDbt+IfCaAu2igH5A84lviJZ80J6Pt5tjS4 bJAuyaenNLFZGQUwLL+6aBsZeTAVnnjciPHAeT6y8JCpQcRr8N1qLWfgFXd1icvqMNDy JPfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="QRz/HTl6"; 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 x16si55885722plr.214.2019.08.10.08.55.26; Sat, 10 Aug 2019 08:55:26 -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="QRz/HTl6"; 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 S1726619AbfHJPzY (ORCPT + 28 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1