From ab01ecab0dbb81a00c87cd2d2bfca42383f63bda Mon Sep 17 00:00:00 2001 From: Bala Shanmugam Date: Tue, 19 Oct 2010 14:15:38 +0530 Subject: [PATCH] Do not compile staging directory for bt target. Signed-off-by: Bala Shanmugam --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index bca92ca52f64..ec84197cd868 100644 --- a/Makefile +++ b/Makefile @@ -31,17 +31,16 @@ obj-$(CONFIG_COMPAT_NET_USB_MODULES) += drivers/net/usb/ obj-$(CONFIG_COMPAT_NETWORK_MODULES) += drivers/net/ obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/ssb/ drivers/misc/eeprom/ -endif - -obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/ -obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/ - ifeq ($(CONFIG_STAGING_EXCLUDE_BUILD),) obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/ath6kl/ obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/brcm80211/ endif +endif + +obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/ +obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/ else -- 2.30.2