Re: How to separate obj and src for external module build?

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

 



On Tue, Aug 05, 2008 at 04:47:44AM -0400, Qian_Riny@xxxxxxx wrote:
> Hi,
> 
> I want to put all obj files (*.o, *.ko etc) into a different directory
> (e.g. obj/) 
> rather than the same src (*.c, Makefile) directory while building an
> external module:
> $(MAKE) -C $(KERNELDIR) M=$(SRC) modules
> How to do it?
> 
> I tried to use O (KBUILD_OUTPUT), but still no luck. It seems that
> O (KBUILD_OUTPUT) is just used for kernel build output.
> 
> $(MAKE) -C $(KERNELDIR) M=$(SRC) O=$(OBJ) modules
> It doesn't work.

This is not yet supported by kbuild and I have no plans to look
into it at the moment.

	Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux