lkml.org 
[lkml]   [2020]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectAw: Re: [question] KBUILD_OUTPUT and modules install (with INSTALL_MOD_PATH)
Date
> Gesendet: Dienstag, 15. September 2020 um 09:54 Uhr
> Von: "Masahiro Yamada" <masahiroy@kernel.org>

> On Tue, Sep 15, 2020 at 2:42 PM Frank Wunderlich
> <frank-w@public-files.de> 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=$ARCH INSTALL_MOD_PATH=$INSTALL_MOD_PATH KBUILD_OUTPUT=$KBUILD_OUTPUT modules_install

Thanks for pointing to this ;)

regards Frank

\
 
 \ /
  Last update: 2020-09-15 10:11    [W:0.043 / U:1.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site