From patchwork Sat Apr 28 22:36:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10370415 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 460FD601BE for ; Sat, 28 Apr 2018 22:36:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FC2E287E9 for ; Sat, 28 Apr 2018 22:36:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2457E28C21; Sat, 28 Apr 2018 22:36:27 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 AE6E7287E9 for ; Sat, 28 Apr 2018 22:36:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752307AbeD1WgM (ORCPT ); Sat, 28 Apr 2018 18:36:12 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52242 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752096AbeD1WgK (ORCPT ); Sat, 28 Apr 2018 18:36:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cBcAEWWzsOGniOqU50byu67UwAKng3erJRQHrtm6R78=; b=dzqTGWkgEV1ZB8WhxXWxL6IlT vFiuBxvj7+GqBYkT8DDoK6rfnjjTlYJP2DxnaeVEPew+jpu6/Jr/aDA4mytmXMIq+s4Y1dTCItzQH Thec3C6u1HeqZYZ6LF5FnFUajPwDFDvICBT6CA/NitNQ0s1amwbwhMtYdQRumbF8q91bchlO897HA 0uJ8zUet45dsDgguGH+cApMjrsmjLWUgpZL5NftV5kOoRwCNWTgbGQKfgleDUqsBkcI6oWDqAE6DV 0cB5XeiZdkADnZwLUivWKHuiSE+Qz7HY8a4V5b8A0srzSq8F2G1TFgsQwY/C1TjHHkv7UXySiQ6P4 ojeWEYv1A==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fCYRt-0000Mb-OQ; Sat, 28 Apr 2018 22:36:09 +0000 To: linux-kbuild Cc: LKML , Masahiro Yamada From: Randy Dunlap Subject: [PATCH] kbuild: "make tools/help" does not need syncconfig Message-ID: Date: Sat, 28 Apr 2018 15:36:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Language: en-US 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 From: Randy Dunlap Fix "make tools/help" to skip "make syncconfig". "make tools/help" currently tries to run "make syncconfig" even though there is no .config file and one is not needed just to get help text output. With no .config file, make says: *** Configuration file ".config" not found! *** Please run some configurator (e.g. "make oldconfig" or *** "make menuconfig" or "make xconfig"). scripts/kconfig/Makefile:40: recipe for target 'syncconfig' failed make[2]: *** [syncconfig] Error 1 Makefile:525: recipe for target 'syncconfig' failed and then goes on to run: make LDFLAGS= MAKEFLAGS=" " O=/linux/linux-next-20180426 subdir=tools -C ./tools/ help which produces the requested help text. However, the "syncconfig" efforts are not needed, so skip them by making "tools/help" be part of the no-dot-config-targets rule. Signed-off-by: Randy Dunlap --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20180426.orig/Makefile +++ linux-next-20180426/Makefile @@ -224,7 +224,7 @@ clean-targets := %clean mrproper cleando no-dot-config-targets := $(clean-targets) \ cscope gtags TAGS tags help% %docs check% coccicheck \ $(version_h) headers_% archheaders archscripts \ - kernelversion %src-pkg + kernelversion %src-pkg tools/help config-targets := 0 mixed-targets := 0