Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2351077pxk; Mon, 14 Sep 2020 10:58:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkCcU7wZS7tiyVlfYmQAOg+78ivxiLDRNdwDEfwNnTSprhB5IEWLkaLZpf75fp0J3GmdOb X-Received: by 2002:a17:906:b7d1:: with SMTP id fy17mr16547972ejb.391.1600106311783; Mon, 14 Sep 2020 10:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600106311; cv=none; d=google.com; s=arc-20160816; b=yOntRhHeDEbqeVe7i8mS62R5/vhtAbXMehY84fSfD2R2GFkCTeovy4AISeKp+lEExE jky1O2wclB1An+tq34E5R8jvWE5eExOF8wgZOMcnEnhiSYW6Zd1oCSmj8PK0wR0GHTsC 9c3S+jsq8vyahmEW1DaiVnINabAvsS9C2sUB/WkNC6sf2IZIq6EagwVp3R02twMZz5/1 L6RXIUuvUQIZHp9kUqSaQJq0N7FnXfwd4aLgaGCDF1FaO1P6QoLqvx12+rtf6ZzrpO7R zW2a/pxLAmtVhTD9OEd/CJcLHLj40eRkCBu3wsFQD9LjNkagmbu8ibwxnILv6yeHeHmj H4Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:sensitivity :importance:date:subject:to:from:message-id:mime-version :dkim-signature; bh=Nvr0m0hEqxXNI4ME/HhKRTkDUhmY8KmtBmIkTsTwouc=; b=05NfxCBrqQSNOIwihp2QP6NiRiwDf3QYgit9Lvq0kXbCxcQUsg4xYbqyVehIelofaQ OhFyQQHBiU26t4TphfV3UjaD6HdrBiHMgnlKvgDfsBKdyrvtVMtFTbeknmbasyckyGUj avENDVB9G2ez5aaksgl6zLq0kHgQ1c48u9mdfPIPtkYgs94sReTSYKZqW4eLAtb3v33f QZqQj63NBNkH5Zo3fa1KJniiXg0QfGWnDXAskpkKlIoI5FbFH6H1Z7akle4LTVCS6shR KSud7Y+flDo9RAoQa6WkTf6U1mWuuFHyd8GG+5gL1DRteT/3H1zOeQPHDpsV6x/ljbXX hqoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=VPHvLGE3; 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 t22si7928997eds.577.2020.09.14.10.58.09; Mon, 14 Sep 2020 10:58:31 -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=@gmx.net header.s=badeba3b8450 header.b=VPHvLGE3; 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 S1726115AbgINR5U (ORCPT + 99 others); Mon, 14 Sep 2020 13:57:20 -0400 Received: from mout.gmx.net ([212.227.17.21]:43193 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbgINR5Q (ORCPT ); Mon, 14 Sep 2020 13:57:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600106229; bh=VkR3sLNEHGB7vqOFeucWnF1Cpiwm6NMeodVD3aUq3rs=; h=X-UI-Sender-Class:From:To:Subject:Date; b=VPHvLGE3P6Gj313ovpVLFc3MLvGx64PDo1cCrgTUvJQzAf/NiUf3lOYsc997e2zAx 6XczVY6GMBIJ2gQUuJ7+PDmIFq28cXcyXNMGtRLC6NdHD2sVZaQPilf5PAsMOKePbI m2VCEhTqLfoikqSvTZgRvMxqTeSS9pbb8akrKg08= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [80.208.209.101] ([80.208.209.101]) by web-mail.gmx.net (3c-app-gmx-bs03.server.lan [172.19.170.52]) (via HTTP); Mon, 14 Sep 2020 19:57:09 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [question] KBUILD_OUTPUT and modules install (with INSTALL_MOD_PATH) Content-Type: text/plain; charset=UTF-8 Date: Mon, 14 Sep 2020 19:57:09 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:ALlgZSKA62hoClrvvBfPSX3yC7O1YXEi6blZpgY6jvYhAYMlyeV+1EZJrcfhxcD9+HoVX bc3bTLKEKABBaVqDgLwSpxGGXGQuaWKbYaNPvqhEGgwabfS1n0sXSByoVnLjZky7V1OOk3qDxQU5 MAgkdEZ+APoolnl62ZuoTPmtEgOKG0S6DWpG/6PpgsaWLhjG06/L4ag4bjd7dRtSXb8AjGdl1/sn 2nbLq/wr9WlNylr3yWsue5GgYsW7PQ09HpCfsp3RSgP4cV/qYdsuaJE6ZIVnzmCvv5yRTAB8Vp27 F8= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:SD2Cj1CuugM=:7FueitUXOoE++PIaOLEejH wJ1HdukpUWpxCUgLqYLJx2ldDFUOwF/gaeE+YnGujhGsw+KX8INrsUeC2GKbnkCL4s82P1p1J UWRCwKejSZ3KmrIaLyvskFAU7gHTnUsIYxGOrzWpr9uqa0pTobrt3Dxk/qyBA/T0gqA2FG91D a82Zwwjxx9H8Af8WWqWSy8Nz9mYHkTNHOJwoOPh2kLshitRPe/6Fn5kun0/wDaQ6Zi2OHT2L8 P9HJVzDtXvd1x+Y1y119o3yiW/lKyO1FUU4iOkaBrP1zjdtxaUTUjKNlDvfyOyVYpAZPLxdzh v+a4/683rwUGvs2K6o0WYlTqQj/oWK5t1IGHHzO6XHU9DGDnGukMrrtxU8DCDFPgizIQViM+K wRb/F7uVxXLfo5s+yvbOCWL8hh+tCAqZAdkFDoIhsPLUhBn2rjHZP1ULN7BspEEKIzB4Ya6yS SzWTvyf9sD8/Fkc/dbfqNfFnmyQCKFBSRex6WroCbxWbhZ0GhVSsTcBy9RbQLmh0jUJxiXj3O PXWewb9kANY2Ryc9XHAQd6SFPp+2dncrzkyVk+jsaNkpHqKx3bSI8uyNF7CiHZ05A5bAhaPjf vlL9th/gimp2SpobGHbav5wPsDXaUf38zNyLrC85PI6KW75HeK+v+AHUu1YhD8tnJ43oe/xet zsXOZKQnDd0D85yz9a9/mTDBhBeZV+2CAAWypQoktlZMSiXUVglChUAoMp1YLPsVmeTk= Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, i try to use modules_install target after building kernel with KBUILD_OUTP= UT set KBUILD_OUTPUT: /media/data_nvme/git/kernel/build #kernel source is in /med= ia/data_nvme/git/kernel/BPI-R2-4.14 kernel is build successfully, but i fail on running the make modules_insta= ll target ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are miss= ing. Run 'make oldconfig && make prepare' on kernel src to fix it. Makefile:648: include/config/auto.conf: No such file or directory make: *** [Makefile:719: include/config/auto.conf] Error 1 it looks it is ignoring the KBUILD_OUTPUT variable, as both files are pres= ent $ ls /media/data_nvme/git/kernel/build/include/config/auto.conf /media/data_nvme/git/kernel/build/include/config/auto.conf $ ls /media/data_nvme/git/kernel/build/include/generated/autoconf.h /media/data_nvme/git/kernel/build/include/generated/autoconf.h i also tried adding KERNEL_DIR var, but also without success sudo make ARCH=3D$ARCH KERNEL_DIR=3D$KBUILD_OUTPUT INSTALL_MOD_PATH=3D/med= ia/$USER/BPI-ROOT/ modules_install $KBUILD_OUTPUT is definitely set to right directory (checked on beginning = of my function) this message seems to be triggered by Makefile in root (here i tried to ad= d the KBUILD_OUTPUT in the test before include without success) 718 include/config/auto.conf: 719 $(Q)test -e include/generated/autoconf.h -a -e $@ || ( \ 720 echo >&2; \ 721 echo >&2 " ERROR: Kernel configuration is invalid."; \ 722 echo >&2 " include/generated/autoconf.h or $@ are missing= .";\ any idea? regards Frank