From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Artem Bityutskiy <dedekind1@gmail.com>
Cc: MTD mailing list <linux-mtd@lists.infradead.org>
Subject: Re: simplifying the linux MTD Kconfig/Makefile structure
Date: Thu, 13 May 2010 14:27:39 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.2.00.1005131427050.6672@lynx> (raw)
In-Reply-To: <1272024346.6917.10.camel@localhost>
On Fri, 23 Apr 2010, Artem Bityutskiy wrote:
> On Tue, 2010-03-30 at 08:29 -0400, Robert P. J. Day wrote:
> > it seems like the various Kconfigs and Makefiles related to MTD
> > could be tightened up a bit. for instance, in drivers/mtd/Makefile:
> >
> > obj-$(CONFIG_MTD_UBI) += ubi/
> >
> > but given that selection, it's kind of redundant to then have
> > drivers/mtd/ubi/Makefile start with:
> >
> > obj-$(CONFIG_MTD_UBI) += ubi.o
> >
> > is it not? why not just "obj-y"?
> >
> > along those lines, again from drivers/mtd/Makefile:
> >
> > obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/
> >
> > obj-$(CONFIG_MTD_UBI) += ubi/
> >
> > why not be consistent and have:
> >
> > obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/
> >
> > obj-$(CONFIG_MTD_UBI) += ubi/
> > obj-$(CONFIG_MTD_TESTS) += tests/
> >
> > which would *massively* simplify drivers/mtd/tests/Makefile, would it
> > not?
> >
> > i can submit some patches if there's any interest. i suspect some
> > of the other directories could be similarly tidied up.
>
> Sounds like a reasonable clean-up to me.
sorry for the delay, either i or a local buddy will take care of
this and submit patches to the list.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
prev parent reply other threads:[~2010-05-13 18:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 12:29 simplifying the linux MTD Kconfig/Makefile structure Robert P. J. Day
2010-04-23 12:05 ` Artem Bityutskiy
2010-05-13 18:27 ` Robert P. J. Day [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.00.1005131427050.6672@lynx \
--to=rpjday@crashcourse.ca \
--cc=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox