Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 6 Oct 2002 13:57:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 6 Oct 2002 13:57:17 -0400 Received: from mailout03.sul.t-online.com ([194.25.134.81]:30173 "EHLO mailout03.sul.t-online.com") by vger.kernel.org with ESMTP id ; Sun, 6 Oct 2002 13:57:12 -0400 To: torvalds@transmeta.com Subject: [PATCH] Bluetooth kbuild fix and config cleanup Cc: linux-kernel@vger.kernel.org, maxk@qualcomm.com, marcel@holtmann.org Message-Id: From: Marcel Holtmann Date: Sun, 06 Oct 2002 20:01:58 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 12172 Lines: 330 You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. =================================================================== ChangeSet@1.755, 2002-10-06 19:14:49+02:00, marcel@holtmann.org Bluetooth kbuild fix and config cleanup This patch removes the obsolete O_TARGET and cleans up the Config.in and Config.help files to have a unique CONFIG_BLUEZ prefix. Additional two missing help entries are added. drivers/bluetooth/Makefile | 15 ++++++++++----- net/bluetooth/Config.help | 26 -------------------------- net/bluetooth/Config.in | 4 +++- net/bluetooth/Makefile | 26 ++++++++------------------ net/bluetooth/bnep/Config.help | 21 +++++++++++++++++++++ net/bluetooth/bnep/Config.in | 6 ++++-- net/bluetooth/bnep/Makefile | 7 +++---- net/bluetooth/rfcomm/Config.help | 12 ++++++++++++ net/bluetooth/rfcomm/Config.in | 4 +++- net/bluetooth/rfcomm/Makefile | 12 +++++++----- 10 files changed, 71 insertions(+), 62 deletions(-) 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 @@ -1,5 +1,5 @@ # -# Makefile for Bluetooth HCI device drivers. +# Makefile for the Linux Bluetooth HCI device drivers. # obj-$(CONFIG_BLUEZ_HCIUSB) += hci_usb.o @@ -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 diff -Nru a/net/bluetooth/Config.help b/net/bluetooth/Config.help --- a/net/bluetooth/Config.help Sun Oct 6 19:19:06 2002 +++ b/net/bluetooth/Config.help Sun Oct 6 19:19:06 2002 @@ -33,19 +33,6 @@ Say Y here to compile L2CAP support into the kernel or say M to compile it as module (l2cap.o). -RFCOMM protocol support -CONFIG_BLUEZ_RFCOMM - RFCOMM provides connection oriented stream transport. RFCOMM - support is required for Dialup Networking, OBEX and other Bluetooth - applications. - - Say Y here to compile RFCOMM support into the kernel or say M to - compile it as module (rfcomm.o). - -RFCOMM TTY emulation support -CONFIG_RFCOMM_TTY - This options enables TTY emulation support for RFCOMM channels. - SCO links support CONFIG_BLUEZ_SCO SCO link provides voice transport over Bluetooth. SCO support is @@ -53,17 +40,4 @@ Say Y here to compile SCO support into the kernel or say M to compile it as module (sco.o). - -BNEP protocol support -CONFIG_BLUEZ_BNEP - BNEP (Bluetooth Network Encapsulation Protocol) is Ethernet - emulation layer on top of Bluetooth. BNEP is required for Bluetooth - PAN (Personal Area Network). - - To use BNEP, you will need user-space utilities provided in the - BlueZ-PAN package. - For more information, see . - - Say Y here to compile BNEP support into the kernel or say M to - compile it as module (bnep.o). diff -Nru a/net/bluetooth/Config.in b/net/bluetooth/Config.in --- a/net/bluetooth/Config.in Sun Oct 6 19:19:06 2002 +++ b/net/bluetooth/Config.in Sun Oct 6 19:19:06 2002 @@ -1,8 +1,9 @@ # -# Bluetooth configuration +# Bluetooth subsystem configuration # if [ "$CONFIG_NET" != "n" ]; then + mainmenu_option next_comment comment 'Bluetooth support' dep_tristate 'Bluetooth subsystem support' CONFIG_BLUEZ $CONFIG_NET @@ -14,6 +15,7 @@ source net/bluetooth/bnep/Config.in source drivers/bluetooth/Config.in fi + endmenu fi diff -Nru a/net/bluetooth/Makefile b/net/bluetooth/Makefile --- a/net/bluetooth/Makefile Sun Oct 6 19:19:06 2002 +++ b/net/bluetooth/Makefile Sun Oct 6 19:19:06 2002 @@ -1,25 +1,15 @@ # -# Makefile for the Bluetooth subsystem +# Makefile for the Linux Bluetooth subsystem. # -export-objs := syms.o +export-objs := syms.o -obj-$(CONFIG_BLUEZ) += bluez.o -obj-$(CONFIG_BLUEZ_L2CAP) += l2cap.o -obj-$(CONFIG_BLUEZ_SCO) += sco.o +obj-$(CONFIG_BLUEZ) += bluez.o +obj-$(CONFIG_BLUEZ_L2CAP) += l2cap.o +obj-$(CONFIG_BLUEZ_SCO) += sco.o +obj-$(CONFIG_BLUEZ_RFCOMM) += rfcomm/ +obj-$(CONFIG_BLUEZ_BNEP) += bnep/ -subdir-$(CONFIG_BLUEZ_BNEP) += bnep - -ifeq ($(CONFIG_BLUEZ_BNEP),y) -obj-y += bnep/bnep.o -endif - -subdir-$(CONFIG_BLUEZ_RFCOMM) += rfcomm - -ifeq ($(CONFIG_BLUEZ_RFCOMM),y) -obj-y += rfcomm/rfcomm.o -endif - -bluez-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o lib.o syms.o +bluez-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o lib.o syms.o include $(TOPDIR)/Rules.make diff -Nru a/net/bluetooth/bnep/Config.help b/net/bluetooth/bnep/Config.help --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/net/bluetooth/bnep/Config.help Sun Oct 6 19:19:06 2002 @@ -0,0 +1,21 @@ +BNEP protocol support +CONFIG_BLUEZ_BNEP + BNEP (Bluetooth Network Encapsulation Protocol) is Ethernet + emulation layer on top of Bluetooth. BNEP is required for Bluetooth + PAN (Personal Area Network). + + To use BNEP, you will need user-space utilities provided in the + BlueZ-PAN package. + For more information, see . + + Say Y here to compile BNEP support into the kernel or say M to + compile it as module (bnep.o). + +BNEP multicast filter support +CONFIG_BLUEZ_BNEP_MC_FILTER + This option enables the multicast filter support for BNEP. + +BNEP protocol filter support +CONFIG_BLUEZ_BNEP_PROTO_FILTER + This option enables the protocol filter support for BNEP. + diff -Nru a/net/bluetooth/bnep/Config.in b/net/bluetooth/bnep/Config.in --- a/net/bluetooth/bnep/Config.in Sun Oct 6 19:19:06 2002 +++ b/net/bluetooth/bnep/Config.in Sun Oct 6 19:19:06 2002 @@ -1,6 +1,8 @@ dep_tristate 'BNEP protocol support' CONFIG_BLUEZ_BNEP $CONFIG_BLUEZ_L2CAP + if [ "$CONFIG_BLUEZ_BNEP" != "n" ]; then - bool ' Multicast filter support' CONFIG_BNEP_MC_FILTER - bool ' Protocol filter support' CONFIG_BNEP_PROTO_FILTER + bool ' Multicast filter support' CONFIG_BLUEZ_BNEP_MC_FILTER + bool ' Protocol filter support' CONFIG_BLUEZ_BNEP_PROTO_FILTER fi + diff -Nru a/net/bluetooth/bnep/Makefile b/net/bluetooth/bnep/Makefile --- a/net/bluetooth/bnep/Makefile Sun Oct 6 19:19:06 2002 +++ b/net/bluetooth/bnep/Makefile Sun Oct 6 19:19:06 2002 @@ -1,10 +1,9 @@ # -# Makefile for BNEP protocol +# Makefile for the Linux Bluetooth BNEP layer. # -O_TARGET := bnep.o +obj-$(CONFIG_BLUEZ_BNEP) += bnep.o -obj-y := core.o sock.o netdev.o crc32.o -obj-m += $(O_TARGET) +bnep-objs := core.o sock.o netdev.o include $(TOPDIR)/Rules.make diff -Nru a/net/bluetooth/rfcomm/Config.help b/net/bluetooth/rfcomm/Config.help --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/net/bluetooth/rfcomm/Config.help Sun Oct 6 19:19:06 2002 @@ -0,0 +1,12 @@ +RFCOMM protocol support +CONFIG_BLUEZ_RFCOMM + RFCOMM provides connection oriented stream transport. RFCOMM + support is required for Dialup Networking, OBEX and other Bluetooth + applications. + + Say Y here to compile RFCOMM support into the kernel or say M to + compile it as module (rfcomm.o). + +RFCOMM TTY emulation support +CONFIG_BLUEZ_RFCOMM_TTY + This option enables TTY emulation support for RFCOMM channels. diff -Nru a/net/bluetooth/rfcomm/Config.in b/net/bluetooth/rfcomm/Config.in --- a/net/bluetooth/rfcomm/Config.in Sun Oct 6 19:19:06 2002 +++ b/net/bluetooth/rfcomm/Config.in Sun Oct 6 19:19:06 2002 @@ -1,5 +1,7 @@ dep_tristate 'RFCOMM protocol support' CONFIG_BLUEZ_RFCOMM $CONFIG_BLUEZ_L2CAP + if [ "$CONFIG_BLUEZ_RFCOMM" != "n" ]; then - bool ' RFCOMM TTY support' CONFIG_RFCOMM_TTY + bool ' RFCOMM TTY support' CONFIG_BLUEZ_RFCOMM_TTY fi + diff -Nru a/net/bluetooth/rfcomm/Makefile b/net/bluetooth/rfcomm/Makefile --- a/net/bluetooth/rfcomm/Makefile Sun Oct 6 19:19:06 2002 +++ b/net/bluetooth/rfcomm/Makefile Sun Oct 6 19:19:06 2002 @@ -1,11 +1,13 @@ # -# Makefile for BNEP protocol +# Makefile for the Linux Bluetooth RFCOMM layer. # -O_TARGET := rfcomm.o +obj-$(CONFIG_BLUEZ_RFCOMM) += rfcomm.o -obj-y := core.o sock.o crc.o -obj-$(CONFIG_RFCOMM_TTY) += tty.o -obj-m += $(O_TARGET) +rfcomm-objs := core.o sock.o crc.o + +ifeq ($(CONFIG_BLUEZ_RFCOMM_TTY),y) + rfcomm-objs += tty.o +endif include $(TOPDIR)/Rules.make =================================================================== This BitKeeper patch contains the following changesets: + ## Wrapped with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RT,<27+7NJZ>]7PWE=D*KCVSI-A\LKHS*BOZV6V6R_'$GB+5YQ%3P=6CBW:# M*Y:O=;Y:T$B#.K6E6&"Z%C,?EBW%`J?A#LE%%KBO3(/J6Q%+:?!OE:P9.>9% MEKQ14GU6I;+;<79/4ST685L;&VI[J*]8XCJ1=L3V=DZW5*.0^2*I;_1E[Z0" MRORXOL5$ZVW,M%YGX7YU8[)?[6`)IBK3]9BI=JSZP'PZ-3&\F/D<]:`J@!.% M6+U5K-%OY;6,\LG[B7@,@[Y2DI5S9E_?\T?2O\J*\383WH#;?=_X'^4060T[ #*``` ` end - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/