From patchwork Tue Oct 17 15:18:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 10012271 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 8DA9C601E7 for ; Tue, 17 Oct 2017 15:18:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78CA1288B2 for ; Tue, 17 Oct 2017 15:18:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D8B72893A; Tue, 17 Oct 2017 15:18:58 +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=-6.9 required=2.0 tests=BAYES_00,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 7EA3C288B2 for ; Tue, 17 Oct 2017 15:18:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936250AbdJQPS4 (ORCPT ); Tue, 17 Oct 2017 11:18:56 -0400 Received: from osg.samsung.com ([64.30.133.232]:54699 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936249AbdJQPS4 (ORCPT ); Tue, 17 Oct 2017 11:18:56 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 5CA2014A25; Tue, 17 Oct 2017 08:18:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v40t86MR0V22; Tue, 17 Oct 2017 08:18:51 -0700 (PDT) Received: from localhost.localdomain (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) by osg.samsung.com (Postfix) with ESMTPSA id 9026F14A1D; Tue, 17 Oct 2017 08:18:51 -0700 (PDT) From: Shuah Khan To: yamada.masahiro@socionext.com, mmarek@suse.com, rdunlap@infradead.org Cc: Shuah Khan , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Makefile: add targets for config-help and pkg-help Date: Tue, 17 Oct 2017 09:18:48 -0600 Message-Id: <20171017151848.3087-1-shuahkh@osg.samsung.com> X-Mailer: git-send-email 2.11.0 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 Change to enable config help and package help from the main make level to make it easier to use. It has become difficult to find config help and pkg help specific output from the "help" information. Signed-off-by: Shuah Khan --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 46bfb0ed2257..1d6f86df1b6c 100644 --- a/Makefile +++ b/Makefile @@ -1441,6 +1441,13 @@ help: @echo 'Execute "make" or "make all" to build all targets marked with [*] ' @echo 'For further info see the ./README file' +PHONY += config-help +config-help: + @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help + +PHONY += pkg-help +pkg-help: + @$(MAKE) $(build)=$(package-dir) help help-board-dirs := $(addprefix help-,$(board-dirs))