Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp866931pxb; Fri, 13 Aug 2021 08:04:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA/dcP9Ufg+CF5zoO2d7KWXf8NokrrIQUsjr95/9wjlchetfZCEIEEfWwBED+bymKLP4nE X-Received: by 2002:aa7:cc83:: with SMTP id p3mr3721080edt.365.1628867056415; Fri, 13 Aug 2021 08:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628867056; cv=none; d=google.com; s=arc-20160816; b=NoCPRT1PpY291YMCehTKLzn/S+x/G0UCm1yHIAkqcdpLsh+uu1uSpsWSGrAsrPaB8V ZqxcZE9o0oXsaOtACG8n4GtRyhE/bGR6d1eVmDFj0AlrUozwiPEzICzSsZtWgjkFOZfE SSVHRMqT/IK6d6fJtMxP+nzqq1fp5DxbZ+e8rzrwyoRM/zfX75Zm8S4STsCA5dwkIsdi eiYxcuNs0lKs3H8CoDvaPj9sfnBXUSCxfNdayyO3Ff/ZmJCMFg7pXfLPNN/zh8TBiFQS wywsmpMpa6eRztYE9XtB7WvDLVE7i8FMUGDcGJW1WQ0lJF3FPwAT0FTAhKyXI1lD9bDq Crzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Lq6xulyx2xZPMmXDOjO5ccQRCNtNGbftA7SubnHzflA=; b=0md2HqZhukbloJkofa1EyUuKp0DxVsJHZL5kE5Hn7TRpQeUH6x9mVfOMIuIqTNMAMt UULmgGkq3N95aB+3pPTUpMV+VZJ2F4BAsz6sYd6TauczJlhTIhUoA5A4YHgpPT3mTS3D YWPdbLWzDb8e1cqpbFKNfBarMuAYkLP4NnEXjBszvgvTMnk7bS0q+A95HeJ/71bq6M6U XE3JtCXuMIr9PS4Bn/CnrzlZDCWW9FwZPhRLqWlOhnO1xjVusm1RX8Zi1NgBW7UbptjV cAA2luNjWOVgxDzxPSIambklRrsbuRA1AVrB6llmS9dUlPtZJtU7GQNRQr+RI4o75qk5 XO0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Ygvusv4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg5si1760781ejc.378.2021.08.13.08.03.49; Fri, 13 Aug 2021 08:04:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Ygvusv4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241035AbhHMPB3 (ORCPT + 99 others); Fri, 13 Aug 2021 11:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241052AbhHMPB2 (ORCPT ); Fri, 13 Aug 2021 11:01:28 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41ECEC0617AD; Fri, 13 Aug 2021 08:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=Lq6xulyx2xZPMmXDOjO5ccQRCNtNGbftA7SubnHzflA=; b=Ygvusv4VGM7iQE8DxhVpdGrptN CTOqYvBv8SpOIdVL5CbvlEKngQ8vxZlyx5YMgbHDqB0Bzlw9WhA36SEbfjdgg5eVNLkHcrZV6NmqQ xXeleCEiTpFHm/ifUZLyJzCLr2BmrYdNGBmajMvy2u8sDUFtjwOSbElx3hShhbWMBLDLu5hybOmaq dtoJDgQclJeXxbFMQV2bZd/Y5+r+Jt2psVJtLeQlXtF7Arw9Q12s5mCeyM6LL+fBWBqxGd3w5i0Ou yvHX2yEG/EHi/oF0Sum0mZl3PiRmXHGAh/UcPooja4ZhPde2KLZ4HsVDVFTU2YvmMmHSgzAUiavSk gNoVGTLw==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEYg7-00CsGK-Qx; Fri, 13 Aug 2021 15:00:59 +0000 Subject: Re: [PATCH] kbuild: allow "make" targets 'versioncheck' and 'includecheck' withoug .config file To: Nicolas Schier Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org References: <20210811225442.9537-1-rdunlap@infradead.org> From: Randy Dunlap Message-ID: <1ecfeb81-a2e4-a177-1886-11e4ffc54224@infradead.org> Date: Fri, 13 Aug 2021 08:00:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/13/21 1:32 AM, Nicolas Schier wrote: > On Wed, Aug 11, 2021 at 03:54:42PM -0700, Randy Dunlap wrote: >> Top-level Makefile targets 'versioncheck' and 'includecheck' don't >> need a configured kernel (i.e., don't need a .config file), so add >> them the the list of "no-dot-config-targets". >> This eliminates the 'make' error: >> >> *** >> *** Configuration file ".config" not found! >> *** >> *** Please run some configurator (e.g. "make oldconfig" or >> *** "make menuconfig" or "make xconfig"). >> *** >> Makefile:759: include/config/auto.conf.cmd: No such file or directory >> >> Signed-off-by: Randy Dunlap >> Cc: Masahiro Yamada >> Cc: Michal Marek >> Cc: linux-kbuild@vger.kernel.org >> --- > > I like that change, works for me as expected. Possibly you might want > to fix the commit subject typo (withoug -> without). > Yes, I noticed that a few minutes after I sent it, but I guess that this patch isn't going anywhere. Thanks. > > >> Fixes: I couldn't determine this. >> >> Makefile | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> --- linux-next-20210811.orig/Makefile >> +++ linux-next-20210811/Makefile >> @@ -274,7 +274,8 @@ no-dot-config-targets := $(clean-targets >> cscope gtags TAGS tags help% %docs check% coccicheck \ >> $(version_h) headers headers_% archheaders archscripts \ >> %asm-generic kernelversion %src-pkg dt_binding_check \ >> - outputmakefile rustfmt rustfmtcheck >> + outputmakefile rustfmt rustfmtcheck \ >> + versioncheck includecheck >> # Installation targets should not require compiler. Unfortunately, vdso_install >> # is an exception where build artifacts may be updated. This must be fixed. >> no-compiler-targets := $(no-dot-config-targets) install dtbs_install \ -- ~Randy