public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Maksim Krasnyanskiy <maxk@qualcomm.com>
Subject: Re: [PATCH] Bluetooth kbuild fix and config cleanup
Date: 07 Oct 2002 03:26:46 +0200	[thread overview]
Message-ID: <1033954016.909.10.camel@pegasus> (raw)
In-Reply-To: <Pine.LNX.4.44.0210061646080.21788-100000@home.transmeta.com>

> > diff -Nru a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile
> > --- a/drivers/bluetooth/Makefile	Sun Oct  6 19:19:06 2002
> > +++ b/drivers/bluetooth/Makefile	Sun Oct  6 19:19:06 2002
> > @@ -9,9 +9,14 @@
> >  obj-$(CONFIG_BLUEZ_HCIBT3C)	+= bt3c_cs.o
> >  obj-$(CONFIG_BLUEZ_HCIBLUECARD)	+= bluecard_cs.o
> >  
> > -hci_uart-y				:= hci_ldisc.o
> > -hci_uart-$(CONFIG_BLUEZ_HCIUART_H4)	+= hci_h4.o
> > -hci_uart-$(CONFIG_BLUEZ_HCIUART_BCSP)	+= hci_bcsp.o
> > -hci_uart-objs				:= $(hci_uart-y)
> > +hci_uart-objs := hci_ldisc.o
> > +
> > +ifeq ($(CONFIG_BLUEZ_HCIUART_H4),y)
> > +  hci_uart-objs += hci_h4.o
> > +endif
> > +
> > +ifeq ($(CONFIG_BLUEZ_HCIUART_BCSP),y)
> > +  hci_uart-objs += hci_bcsp.o
> > +endif
> >  
> >  include $(TOPDIR)/Rules.make
> 
> Hmm.. This seems to be reverting a perfectly good clean Makefile without 
> any conditionals to the old-stype setup. Please don't do that.

I will change this and submit you a new patch. Should I do this also for
only one conditional like in net/bluetooth/rfcomm/Makefile? So it will
look like this:

###
obj-$(CONFIG_BLUEZ_RFCOMM) += rfcomm.o

rfcomm-y                                := core.o sock.o crc.o
rfcomm-$(CONFIG_BLUEZ_RFCOMM_TTY)       += tty.o
rfcomm-objs                             := $(rfcomm-y)

include $(TOPDIR)/Rules.make
###

Regards

Marcel



  reply	other threads:[~2002-10-07  1:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-06 18:01 [PATCH] Bluetooth kbuild fix and config cleanup Marcel Holtmann
2002-10-06 23:47 ` Linus Torvalds
2002-10-07  1:26   ` Marcel Holtmann [this message]
2002-10-07  1:34     ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2002-10-07  2:25 Marcel Holtmann

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=1033954016.909.10.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxk@qualcomm.com \
    --cc=torvalds@transmeta.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