From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:60521 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375AbaHDOKW (ORCPT ); Mon, 4 Aug 2014 10:10:22 -0400 Message-ID: <53DF944C.2090207@suse.cz> Date: Mon, 04 Aug 2014 16:10:20 +0200 From: Michal Marek MIME-Version: 1.0 Subject: Re: [PATCH 1/1] kbuild: use $(srctree) to locate config headers from external modules References: <1406922443-22770-1-git-send-email-djpohly+linux@gmail.com> In-Reply-To: <1406922443-22770-1-git-send-email-djpohly+linux@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: "Devin J. Pohly" Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, "Devin J. Pohly" On 2014-08-01 21:47, Devin J. Pohly wrote: > When making modules_install for an out-of-tree module, the current > directory is $(KBUILD_OUTPUT), and the Makefile recipe which verifies > the existence of files in include/config is unable to find them using a > relative path. This leads to a spurious and puzzling "Kernel > configuration is invalid" warning when no configuration is actually > needed. include/generated is located in $(KBUILD_OUTPUT), which is different from $(srctree) when using O=. Can you post a sequence of commands that leads to the error you are seeing? Thanks, Michal