Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp482706imb; Fri, 1 Mar 2019 06:04:03 -0800 (PST) X-Google-Smtp-Source: APXvYqyY9u+aAUhsMCPQ49UTJfdznS0542lR0CWw93ayG9ppjF6sqxgEk1C2ycEGDoFOBwXP8lHt X-Received: by 2002:a17:902:4081:: with SMTP id c1mr5630315pld.297.1551449043106; Fri, 01 Mar 2019 06:04:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551449043; cv=none; d=google.com; s=arc-20160816; b=a/nf4k54TOeIWXI892yCVXSqHI52iDKo/2FAsWzWKwjaXKhqNwrRRYHfKLftIUHmoO FrcGj8IJr0Fm+N2uej0aeEfi7+lq2lngHNZNdJouQ2Oe6B+i7/FNgQEtcj4BSsm3K1i3 z/dvAQhkr2AuWY9xi5Fmm9z7tXk8zbpf9ak+1mGohpTsBklx8Pf7UiPSUhkqPlNmYz0d m50I3nl35yzbGBX9foMGBSzhotgvmykw0zjesGzfCbX2XaOWRBR1zLXzYhIlzTTk1VQ9 39rpN7FZxf2GGE+2NpWj0JbnA6S0HJx8v+UNwumakYsFA8ti5VQmnO8WTJV1ksyODWlR 449g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=6MiZRbDnFH7E3sPevTt6YhdflgjtqJuZkFaKR9B+10c=; b=usBSNDQ1QEPaWec0MSggHk4KymLjzFgUEg+4oPLHEmhSTJQ2Ua3P0o+hcrkcpIAztc wCV8kuo0p0zki3IYut+gFpHzR+m3Cyt61XGCPvZs5RSpQ6qrtxY6CR1jaXKkjrqBd29+ yKx8Pu7nmNMq9S7icD8gn+HSxkNUmSxc/QgUrSTdPvti0zfP2HIm/W8ZKdW7MFy5ZU40 aOTIIZUP2Z88qkx/ClFExnYBe1wOQ5NWhET6oTeg/LyQ4GG4zwFgygmxt8kyaN6YCxTO 8e1lHSomObNgK3gzWCAMqeiMbjZiKVd1X7VWRPX7o1sDELY4fcblVvH1JRYQG3eeghgo 2FYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Gwhf8UzV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5si20153520plk.301.2019.03.01.06.03.46; Fri, 01 Mar 2019 06:04:03 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=Gwhf8UzV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387588AbfCANeN (ORCPT + 99 others); Fri, 1 Mar 2019 08:34:13 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:46865 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727418AbfCANeN (ORCPT ); Fri, 1 Mar 2019 08:34:13 -0500 Received: by mail-ed1-f67.google.com with SMTP id f2so19990354edy.13; Fri, 01 Mar 2019 05:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=6MiZRbDnFH7E3sPevTt6YhdflgjtqJuZkFaKR9B+10c=; b=Gwhf8UzVyQ5TTnrHzZt85WH8n5rO4e/J8AQOuD4D7RiMKIAjHD73QIGbNTrwbVK0r4 ee062GyOlOd+THHQUh+FWqPoSy777Je8u6Hn0+nyQtjCOEvIB06s/E1ZK9njJcE/oakE wc0izpwyldbadj/M8pX0zLkIvu9cTYPWOKFWtM/5lt7sm35kMKco6TkiiGxsAYmrmhtF Ycmb1WMW8Lvr1iW0grqu8TEBIRTQr8JR7oxPRDQVItoCsCK71geuOoM5nxZt4oZfYPIw 26VC5A4DQW55OifHxbgte5uXwG6hXZ/Whc21E4i4/a+R9TcWz3kpxZf3cP5mjAZQI+K8 bfgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=6MiZRbDnFH7E3sPevTt6YhdflgjtqJuZkFaKR9B+10c=; b=VMphgbj92xMQmJcNwBmzBKvRMoBwgBivC/1uDGgHDcEgDyZcJVEiut7HMVLFCbNqHW rohuz/ufs1HPsWBmxP7+EXkilzY4gLICnWwqHwlMpKZHj3YpP1P7WyxgofyH4Yl9UxO1 sbN23+ubMvtRciRxZ0sKv4Mg1dBclQA0C28tV3vtgSv1MOwcAmVpWrQLecDTMdlIXFF7 MLuO4RqM3acqM2ZzGINL/tA0asZBwlM1AfGFUISKYXDbj9C3G/ibJ+h3x1nyMojjf8ap JrIXr7mvL7rLMvEnrcfoZ5qntoOifODrUPwayROxtwfVmqaY1llWVYUNobxidfgUj3AY SmVA== X-Gm-Message-State: APjAAAWhN0l88BghdlMUXETNJEFVNvX15fKR2OdcZdzg3gm9GGuESOH6 wI9TBJJnt15SPMEnUm+CkTTM8YWl X-Received: by 2002:a50:ed81:: with SMTP id h1mr4282612edr.145.1551447251406; Fri, 01 Mar 2019 05:34:11 -0800 (PST) Received: from dell5510 ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id w33sm1769058edd.62.2019.03.01.05.34.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Mar 2019 05:34:10 -0800 (PST) Date: Fri, 1 Mar 2019 14:34:08 +0100 From: Petr Vorel To: Arseny Maslennikov Cc: Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Riku Voipio Subject: Re: [PATCH] scripts/package/Makefile: put proper config in source tarball Message-ID: <20190301133407.GB20771@dell5510> Reply-To: Petr Vorel References: <20190221215901.23970-1-ar@cs.msu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190221215901.23970-1-ar@cs.msu.ru> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > It is widely known that one can build a kernel without a .config in the > source tree by setting KCONFIG_CONFIG equal to the actual configuration > file path. > When making a *-pkg target, make(1) prepares a source tarball and tries > to pack `.config' in there regardless of the value of KCONFIG_CONFIG, > failing spectacularly if .config is absent and packing the wrong config > if it exists. > Let's fix that. > Signed-off-by: Arseny Maslennikov Reviewed-by: Petr Vorel Kind regards, Petr