Building a specific kernel module in a different tree than the source tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

When I had built a specific kernel module in the kernel tree I ran for example
"make fs/ext3/ext3.ko" and it was ok.
Now I had build the kernel in a differnet folder than the source tree,
by: make O=../kernel_obj

When I try to built the tree in a different tree I want to do the same,
namely build only one specific module; and I can't.

I tried:
make O=../kernel_ob ../kernel_obj/fs/ext3/ext3.ko and it does **not** work.

Also:
make ../kernel_obj/fs/ext3/ext3.ko
is not good for this.

Any ideas how can it be done ?

Regards,
Mark

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux