Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2756739pxk; Tue, 15 Sep 2020 01:12:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMoJLdT1C/Q+ndLnjSMxQ9UqXTPA7imRwYopsCIzvlvIaOjd+wh6ECy3D6bpjtNAgifeJ7 X-Received: by 2002:a17:906:934f:: with SMTP id p15mr19199162ejw.497.1600157519901; Tue, 15 Sep 2020 01:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600157519; cv=none; d=google.com; s=arc-20160816; b=DgHIU8SjKj5GIz0GgUQku0hNTLWFjWYven+tPob12IA7YhQTsdE7IA8HozlXD8yqsv 90gKApvwNuhPX0HGRdlp7339Spo9lgUcNKXb6iJotrZV4wmuYAZkLTCvaLcJYfSRz8tE A8tBzsUSM0ku4K8BQx9/nXYH5pozAMw7xNWsNkk03feeeOibepPT3X0TN4uJdhAKOuG/ gQ2Pkw1LsOzGSApUmjlXvfiAflY0IiJwgTmn97AgRhz0GVGcWTgUd/uoIq/B/5CuEM51 f8kka9WoW7DlLBTakSTgnZRC4nlPP1r9Qnjyu8+IF1LYktCjtl9D8lWhPHTA3OOf1cV6 FDQg== 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:references :in-reply-to:sensitivity:importance:date:subject:cc:to:from :message-id:mime-version:dkim-signature; bh=XMcvQTmJcpC2V5nhPWBPfdGZFJFYkc6FXJ0jHmXnP5c=; b=D5Lv0a4v8OgPB+SUYlJGopGcrc08p6Ome8bmPtRO1a8A4I5hm9bognVfs/4p0QNWcH L77MElqO5NK3shTLL7WMoSDy8YcD4s6eiPXJhoqT4MVrC0rbFC8f92+o8yv0svUhL1ky Zd985DNDsZT80LX3KEc9AyLT3f3Yb3MsYPqbJpYIQ8VztfWlJv1MmJ9gifxDh5DqOHmc z2WmZIwn+LdU/Y4QR1i4FHRmHEZbFFowIS0O67UUHiTWrYnBi7BV4sjdjl1kqlyL5HqH gY4AI+ysKmE34uTiWGwJ06flGpOWFyYajvZpio/GPClCuxnB7sMM8juq7LZHui4kvwIQ Rq7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=P0WJKyyq; 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 l24si8660284ejk.522.2020.09.15.01.11.37; Tue, 15 Sep 2020 01:11:59 -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=P0WJKyyq; 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 S1726253AbgIOIKU (ORCPT + 99 others); Tue, 15 Sep 2020 04:10:20 -0400 Received: from mout.gmx.net ([212.227.15.15]:37973 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726243AbgIOIIs (ORCPT ); Tue, 15 Sep 2020 04:08:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600157274; bh=XMcvQTmJcpC2V5nhPWBPfdGZFJFYkc6FXJ0jHmXnP5c=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=P0WJKyyqh8wxSdR9wkKDsHOCFIC8dJUEo6VSq572NpAs8JWnQpI7TPcL5tDu0DAFx YX61sxNmMpVXlZKPM09oiCWdR72GFsoWDUS9cGvvi4YJTw/aYH5NhOM9vZacrtF+VT 3yZ7+IesXw/chI7MdiZWAMt/YS0jhoVMLNFuoY0g= 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-bs08.server.lan [172.19.170.59]) (via HTTP); Tue, 15 Sep 2020 10:07:54 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Masahiro Yamada Cc: Michal Marek , Linux Kernel Mailing List Subject: Aw: Re: [question] KBUILD_OUTPUT and modules install (with INSTALL_MOD_PATH) Content-Type: text/plain; charset=UTF-8 Date: Tue, 15 Sep 2020 10:07:54 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: <27B16959-58F6-4190-8A65-88FFD2A49452@public-files.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:7MsQe4Z4o2qKNSQCwrVCgmlimcft3+XDKW50jeeM9Mpi4x0Fs/xGyIqUk0igjEpdluoqa x5yFSCivZegBLq1/6Lxhqf2I+iTUvGQqf8eS7EJnI8ByjwFJDwQjj3YQkXaVt6TCT+1Igbvuuofm QCROoyOgmUFA3vj+xWqp0NfuFEhFhI3q7xW8HZbRhcwWhZ4N7GizO4qgffAK9SV5imiuJCksNTOm Nd78PTWH7XD2UhKvgUrCKM/X4rHAfLwaAXtln8EXVeDdeiXXlZyK8KDUSqngCGKOozgS9CGHyY6C Fw= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:kP/ABltPT3Y=:8wJgxmdq6IHQHNCvbZ/eyE o8oFPB8qtrHUUgdQATpcfn0bgRS6r9Skc91WOGLHgd2yOHm7xClRxZ2o46v8ebCIYe3txtrwj DhO71qebfV1mwJjnRS1AoXWKCwz1+zPcLa9DbwnHJDQZariWUVXjnQlkGURy1+534V8MSd1M7 7K0f3A/1yIanxC16iOYmDNUxZu2fxKT5xc4liqgEwN1Zs2FRJ+NCMPJI5SXGvpEu8ZCKxq+cZ Hvlqtb2iBTnuaAe8F/b8ejPEqBbgwn3yXIrxFapiwJk7iViOq0218ufGe6PYNts55Y/ZSgpRI 0auN0oT7g4Q1/XjEUBkVAEKGQhcWWFF8SrvSMfJ1Z30NelsyZ5vTpg1OdlMYNJ5d1yGPhdXrx lDLLIXpnn5IC2UOZtJw7HjV2IokYV8UzbSKj1HnBbhPB03q6lOwPBw8L3m9/jMHmKBP7cgxW2 A0tUYFrp0sN+7RCCJIu8eoClT9hTCt9TzPsH1PUq6LhUqwsSzs4ul96bQDQhRUKd7qeyW/tLs MDajtbLYo8TEtOqAuWVmdecqQJKfwGtm1JoJDKSBFjano1CS2X4zN3yVrFqzb73gwRo3HDVO6 516h6eHXeg+bWdG9k56DO/KiWwlHi8RqmBPw/X/Q7T+3VFVX108RHEdRDGnTZeSDS6Enzhonf 61vPxWujiAfVE+08jHSXqDuW0u7HcnzIm9Ync8WVziHp/j/MeI5VvqB3SzT4Q51/dyJE= Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Gesendet: Dienstag, 15. September 2020 um 09:54 Uhr > Von: "Masahiro Yamada" > On Tue, Sep 15, 2020 at 2:42 PM Frank Wunderlich > wrote: > > Yes i exported it before use at beginning of my script [1] and modules= _install used inside install function [2]. It works with build-function [3= ]. > > [1] https://github.com/frank-w/BPI-R2-4.14/blob/5.9-rc/build.sh#L75 > > [2] https://github.com/frank-w/BPI-R2-4.14/blob/5.9-rc/build.sh#L368 > > [3] https://github.com/frank-w/BPI-R2-4.14/blob/5.9-rc/build.sh#L578 > > [3] is unrelated since > "#&& make modules_install 2>&3" is commented out. i just wanted to point to build-process where KBUILD_OUTPUT is used :) > In [1], you export KBUILD_OUTPUT as a normal user, > then in [2], you run the commands with 'sudo'. > > That is why KBUILD_OUTPUT was not passed. thank you very much...i remember why (because the sudo) i passed the vars = here i already exported ;) i tried the KERNEL_DIR here (found somewhere but not checked in Makefile),= but not the KBUILD_OUTPUT, don't ask me why...with passing KBUILD_OUTPUT = there all works as expected. sudo make ARCH=3D$ARCH INSTALL_MOD_PATH=3D$INSTALL_MOD_PATH KBUILD_OUTPUT= =3D$KBUILD_OUTPUT modules_install Thanks for pointing to this ;) regards Frank