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] [day] [month] [year] [list]
Message-ID: <52C4CDF8.5000508@shealevy.com>
Date:	Wed, 01 Jan 2014 21:24:56 -0500
From:	Shea Levy <shea@...alevy.com>
To:	Austin S Hemmelgarn <ahferroin7@...il.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: Build and Source Tree Requirements for Out-of-tree Modules

Hi,

On 01/01/2014 03:04 PM, Austin S Hemmelgarn wrote:
> On 01/01/2014 10:11 AM, Shea Levy wrote:
>> Hi all,
>>
>> I am a package maintainer for the kernel for the NixOS
>> distribution. We support users building out-of-tree modules and
>> other packages that might depend on the kernel source or build
>> trees, but make modules_install copies the entire source and build
>> trees (we build with $(O) set) to $(INSTALL_PATH), and those are
>> some big paths to keep around. Is there any documentation on which
>> of those files should actually be needed by any out-of-tree tools?
>> For example I'm guessing the intermediate object files in the build
>> tree or the .c files in the source tree are not necessary, but it
>> would be nice if there were a definitive list of what could be
>> removed to save space.
> Running 'make modules_prepare' in a clean source tree should set up
> the sources with everything needed for out of tree modules, it largely
> amounts to the .config file, a few scripts, and a couple of specific
> other files.
>
Thanks so much! It looks like this can replace the build tree, so now 
all I need to figure out is how much of the source tree I can get rid 
of. The Makefile in the modules_prepare directory just basically 
re-calls make with -C /path/to/source/tree, so I need at least the 
Makefile...

~Shea Levy
--
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