I think that is what I am looking for.

So, calling make modules_prepare does something, but I am not sure how
to copy the relevant files to a separate directory that can be
deployed on another
machine. I tried searching, but could not find clear resources - I
tired make modules_prepare O=/some/path but that failed with the error
included below.

I have a fully built kernel and modules in
~/data/dev/kernel/linux-2.6.37.6 - where make modules_prepare was
called from.

Can you please tell me how to use make modules_prepare properly.

Thanks

Autif

autif@xu:~/data/dev/kernel/linux-2.6.37.6$ make modules_prepare
O=/home/autif/data/dev/kernel/2.6.37.6.modules.O
  GEN     /home/autif/data/dev/kernel/2.6.37.6.modules.O/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: *** No rule to make target `modules_prepare'.  Stop.
make: *** [sub-make] Error 2
autif@xu:~/data/dev/kernel/linux-2.6.37.6$


On Wed, Dec 14, 2011 at 8:01 AM, Mulyadi Santosa
<[email protected]> wrote:
> Hi all..
>
> On Wed, Dec 14, 2011 at 02:00, autif khan <[email protected]> wrote:
>> Yeah, I left a lot of (what I thought irrelevant) information out. But
>> as I am researching more and more, It looks like, I will have to suck
>> it up and compile the kernel module on the build machine and not the
>> target.
>>
>
> are you guys referring to "make headers_install" or "make modules_prepare"?
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to