All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: standardize utility filenames and add default rules to Makefile
@ 2013-04-21 22:10 Eric Sandeen
  2013-04-21 22:22 ` [PATCH 2/2] btrfs-progs: Add " Eric Sandeen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eric Sandeen @ 2013-04-21 22:10 UTC (permalink / raw)
  To: linux-btrfs

2 patches here.

The first renames the single .c files which are built into btrfs-$FOO
commands - previously we built i.e. btrfs-calc-size from calc-size.c

IMHO this helps separate out which files are main command-type
files, and which are not.  (Eventually I hope to move things
into subdirs to organize a bit more).

Then, after renaming i.e. calc-size.c to  btrfs-calc-size.c we can
write a simpler default rule for these utilities (patch 2/2).

The default static rule is handy because it'll automatically build
i.e. "make btrfs-image.static" or "make btrfs-calc-size.static"
if you need them.

I think this is a net win, with a bit less Makefile code
duplication, but if people don't like it, no big deal.  I was hoping
to clean up & re-organize the userspace build a little, and this
seems like a decent first step along the way.

Comments welcome, especially from people who are better at Make than
I am.  ;)  And if this is two clever by half I'm not wedded to it.

-Eric

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-24 12:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-21 22:10 [PATCH 0/2] btrfs-progs: standardize utility filenames and add default rules to Makefile Eric Sandeen
2013-04-21 22:22 ` [PATCH 2/2] btrfs-progs: Add " Eric Sandeen
2013-04-24 12:43   ` David Sterba
2013-04-23 16:09 ` [PATCH 0/2] btrfs-progs: standardize utility filenames and add " David Sterba
2013-04-23 16:48   ` Eric Sandeen
2013-04-23 20:57 ` [PATCH 1/2 (resend)] btrfs-progs: standardize tool source filenames Eric Sandeen
2013-04-24 12:21   ` David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.