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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180618082017.GA4752@infradead.org>
Date:   Mon, 18 Jun 2018 01:20:17 -0700
From:   Christoph Hellwig <hch@...radead.org>
To:     NeilBrown <neilb@...e.com>
Cc:     Masahiro Yamada <yamada.masahiro@...ionext.com>,
        Michal Marek <michal.lkml@...kovi.net>,
        linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: Re: [RFC PATCH 0/5] kbuild: build modules from code in multiple
 directories.

On Mon, Jun 18, 2018 at 02:55:20PM +1000, NeilBrown wrote:
> This set of patches makes it possible to build a module from
> code in multiple directories without needing to list files from one
> directory in the Makefile of another directory.
> 
> The code was developed for lustre (which is now out-of-tree :-( ) but
> can be useful elsewhere, such as for xfs and btrfs and others.
> 
> In fs/xfs/Makefile the section:
> 
> xfs-y				+= $(addprefix libxfs/, \
> 				   xfs_ag.o \
> 				   xfs_alloc.o \
> 				.....
> 
> could become
> 
> xfs-y += libxfs/
> 
> and then in fs/xfs/libxfs/Makefile we would have
> 
> modobj-$(CONFIG_XFS_FS) += xfs_ag.o \
> 			   xfs_alloc.o \
> 			   .....
> 
> A similar process could move filenames for scrub/* from the
> fs/xfs/Makefile to fs/xfs/scrub/Makefile

How about you actually convert it as an example?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ