How to you have kbuild send output to a different directory?
Hi,
I want to tell kbuild to output the generated files (for a module) to a subdirectory. That way I can share to source across multiple kernel version builds and have the output go to its own directory. I saw a patch was created in 2003 for an O= variable but tried (the O, not the patch) that and didn't work. How do I tell it to use a subdir for output? TIA!! |
Please show all the exact steps you took to try the O= solution. Might as well include kernel version too. It does work and should work. Or if you prefer you can look at the linux/README in case something's changed since I last read it.
|
Kernel version is 2.6.32-5-686 on Debian 6
I basically added an O= to the make command line $(MAKE) -C $(KDIR) M=$(CURDIR) V=$(V) O=$(KVER) modules |
All times are GMT -5. The time now is 05:10 PM. |