From: Michael Buesch <mb@bu3sch.de>
To: Christoph Hellwig <hch@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
John Linville <linville@tuxdriver.com>,
Aurelien Jarno <aurelien@aurel32.net>,
linux-wireless@vger.kernel.org,
Gary Zambrano <zambrano@broadcom.com>,
netdev@vger.kernel.org
Subject: Re: [PATCH #2] Merge the Sonics Silicon Backplane subsystem
Date: Sat, 14 Jul 2007 19:47:45 +0200 [thread overview]
Message-ID: <200707141947.46191.mb@bu3sch.de> (raw)
In-Reply-To: <20070714172605.GA15586@infradead.org>
On Saturday 14 July 2007 19:26:05 Christoph Hellwig wrote:
> On Sat, Jul 14, 2007 at 07:18:20PM +0200, Michael Buesch wrote:
> > --- /dev/null
> > +++ b/drivers/ssb/Makefile
> > @@ -0,0 +1,11 @@
> > +ssb-builtin-drivers-y += driver_chipcommon.o
> > +ssb-builtin-drivers-$(CONFIG_SSB_DRIVER_MIPS) += driver_mipscore.o
> > +ssb-builtin-drivers-$(CONFIG_SSB_DRIVER_PCICORE) += driver_pcicore.o
> > +
> > +ssb-hostsupport-$(CONFIG_SSB_PCIHOST) += pci.o pcihost_wrapper.o
> > +ssb-hostsupport-$(CONFIG_SSB_PCMCIAHOST) += pcmcia.o
> > +
> > +obj-$(CONFIG_SSB) += ssb.o
> > +
> > +ssb-objs := main.o scan.o \
> > + $(ssb-hostsupport-y) $(ssb-builtin-drivers-y)
>
> Whoa, this makefile is more than ugly :)
>
> Please try something like:
>
> # core
> ssb-y += main.o scan.o
>
> # host support
> ssb-$(CONFIG_SSB_PCIHOST) += pci.o pcihost_wrapper.o
> ssb-$(CONFIG_SSB_PCMCIAHOST) += pcmcia.o
>
> # drivers
> ssb-y += driver_chipcommon.o
> ssb-$(CONFIG_SSB_DRIVER_MIPS) += driver_mipscore.o
> ssb-$(CONFIG_SSB_DRIVER_PCICORE) += driver_pcicore.o
>
> obj-$(CONFIG_SSB) += ssb.o
>
> instead
>
>
> > + default y
>
> please don't add defauly y statements for random drivers.
>
Thanks for your comments. I fixed that and will submit it
with the next round.
--
Greetings Michael.
next prev parent reply other threads:[~2007-07-14 17:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200707141918.22457.mb@bu3sch.de>
2007-07-14 17:26 ` [PATCH #2] Merge the Sonics Silicon Backplane subsystem Christoph Hellwig
2007-07-14 17:47 ` Michael Buesch [this message]
2007-07-27 20:55 [PATCH 2] " Michael Buesch
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=200707141947.46191.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=akpm@linux-foundation.org \
--cc=aurelien@aurel32.net \
--cc=hch@infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
--cc=zambrano@broadcom.com \
/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;
as well as URLs for NNTP newsgroup(s).