lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080515174222.GB24024@uranus.ravnborg.org>
Date:	Thu, 15 May 2008 19:42:23 +0200
From:	Sam Ravnborg <sam@...nborg.org>
To:	murtuja bharmal <murtuja_bharmal@...oo.com>
Cc:	linux-kernel@...r.kernel.org,
	linux-kbuild <linux-kbuild@...r.kernel.org>
Subject: Re: Kbuild Makefile output

On Thu, May 15, 2008 at 11:07:19PM +0530, murtuja bharmal wrote:
> Hello All.
> I want to collect all my object file in onedirectory and then want to create a kernel module.
> For example: This my directory structure.
> dir
> |
> --------------------------------------
> |            |        |        |
> dir1    dir2       dir3   dir4
> This is my makefile in 'dir'.
> obj-m := test.o
> test-objs += \
>                 dir1/test1.o  \
>                 dir2/test2.o  \
>                 dir3/test3.o
> all:
>             make -C /usr/src/linux M=`pwd` modules
> 
> Now I want to save all output objectfile test1.o test2.o test3.o in one directory
> called 'dir4' not in source directory. 'test.o' should look all this object file in 'dir4' for linking, not in the source directory and 'test.ko' should also be create in 'dir4'.
> Can any one tell me, what is require changes in Kernel Makefile for the same.

Do not do that...

If you really need to do so - please explain why so we can understand the rationale.
There are ~2000 modules that does not need this so what makes your maodule so special?

[Added kbuild@...r to cc as you also asked there]

	Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ