Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2631504ybj; Mon, 23 Sep 2019 07:02:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0qGUUz3HUW6uvEgEJ4/bcObvjE47ExOSeuiOIs9vVD6l0OveYugaUCMdEFfY/wLzlG/M3 X-Received: by 2002:a17:906:b742:: with SMTP id fx2mr16347ejb.205.1569247329846; Mon, 23 Sep 2019 07:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569247329; cv=none; d=google.com; s=arc-20160816; b=IAzZwJBbxdXZdpWm1V5nVHO0zWsO6c2/oRBsYE3i6SL+1gycU3hg6jLYpC/R8rRrJo DykoiwqMvuv2JtGJGa0oevdrkplIMqUkXrg4BGHlNNK2zgU1DoB6ka0Cg3fVDyGFjyqa /tVroBLWz/JHYT1K53x3sqhDOLn/TzSiZtHe7BELX8yULasZ/UwFpAQN43Ha1erb93qi bH+kcIAtw3rTWbHb5qhXCQSBw6E9nKijZKRvarmH7t/lz+UifyoE+3c/TZkZ6KIsdad/ GX4LRRzlUSsQ8JjFTEBDAoIsg3Ykqj4kFxaFfP+TZ5TRGbkXBsC6EcgxJBe6McbgtRrJ lsVA== 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=dja71nn69Zhyku0IB7solLpqPi2RIkLVwmV+E9HAVSo=; b=yoI//EZH4CRQkJ00ozehndUbBLrGIGM3hWEPmnjZwnGNXc/3gWnaQsaEWtdIa3RTQA WaApq4kxfyrbt4spnIdsJgABBuJCcOdRQM4ppQ6JjYg+M0KO+6S23WiJQsqUXBUiU92X nwo/KyMUXkgWPAk1EdUq6BIy6qHDskQlgSmlHj7cxNJnUfk6EPaXPAD4lPWeF0lLz+Cp W7jjcsvjgBtLTcAE2i47/RwrGuHYwYacvDUUcIHZfndAo/95VhXMD4UwlPAR0g9a3kA0 3k0D7ul3Ct+TP3FsHPZjazx6OsgUJIDshaIsvIijQwpos0ddxQDwqDNmpwk/od21hwKH M2Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=hrZv02tV; 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 ga6si4792447ejb.309.2019.09.23.07.01.45; Mon, 23 Sep 2019 07:02:09 -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=hrZv02tV; 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 S2437656AbfIUHGJ (ORCPT + 99 others); Sat, 21 Sep 2019 03:06:09 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:47051 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437304AbfIUHGJ (ORCPT ); Sat, 21 Sep 2019 03:06:09 -0400 Received: from grover.flets-west.jp (softbank126021098169.bbtec.net [126.21.98.169]) (authenticated) by conuserg-07.nifty.com with ESMTP id x8L75kWr014505; Sat, 21 Sep 2019 16:05:46 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x8L75kWr014505 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1569049547; bh=dja71nn69Zhyku0IB7solLpqPi2RIkLVwmV+E9HAVSo=; h=From:To:Cc:Subject:Date:From; b=hrZv02tV4Ui5XJplTx4XUwlnj2ZjGXePPItpdxb4zSCTUSZTxuQv3J8O5PwONHp03 ynQlWWMrge71kBlBjzssDpIBkqKAbY+vp/c2nAurnirb4bg8Iwkz4PvM1goMaqVh+C vhs0iXLVgKDqz4MOlqdHBh5/BzkVWlTHjIf0g6W3jHrHdUw6SMHmkgiMJduXvbxyVd m3scMZl2oXUFpAMrS3z2u6VhUAKbAifEXQiLnxAG4joHOIvnm69wdouKYlQlGPgct8 TxdcYLY9XMAMuoCjWzHAlSn9szETtBjEmEaVGmYN/yRoRljqV373E3jGCqMeWO8rdZ UJwXYTJSpab3w== X-Nifty-SrcIP: [126.21.98.169] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: remove SUBDIRS support Date: Sat, 21 Sep 2019 16:05:41 +0900 Message-Id: <20190921070542.12868-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 Linux 5.3 was released. Remove the SUBDIRS support. Signed-off-by: Masahiro Yamada --- Makefile | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 88b180b2cb64..6206cd358411 100644 --- a/Makefile +++ b/Makefile @@ -206,24 +206,8 @@ ifndef KBUILD_CHECKSRC KBUILD_CHECKSRC = 0 endif -# Use make M=dir to specify directory of external module to build -# Old syntax make ... SUBDIRS=$PWD is still supported -# Setting the environment variable KBUILD_EXTMOD take precedence -ifdef SUBDIRS - $(warning ================= WARNING ================) - $(warning 'SUBDIRS' will be removed after Linux 5.3) - $(warning ) - $(warning If you are building an individual subdirectory) - $(warning in the kernel tree, you can do like this:) - $(warning $$ make path/to/dir/you/want/to/build/) - $(warning (Do not forget the trailing slash)) - $(warning ) - $(warning If you are building an external module,) - $(warning Please use 'M=' or 'KBUILD_EXTMOD' instead) - $(warning ==========================================) - KBUILD_EXTMOD ?= $(SUBDIRS) -endif - +# Use make M=dir or set the environment variable KBUILD_EXTMOD to specify the +# directory of external module to build. Setting M= takes precedence. ifeq ("$(origin M)", "command line") KBUILD_EXTMOD := $(M) endif -- 2.17.1