From: Luis R. Rodriguez Date: Tue, 12 Jan 2010 23:39:11 +0000 (-0800) Subject: Prevent CONFIG_COMPAT_BLUETOOTH_* options from going to compat_autoconf.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=750a94b9eab35708064f4c6295db162d0053d95d;p=openwrt%2Fstaging%2Fblogic.git Prevent CONFIG_COMPAT_BLUETOOTH_* options from going to compat_autoconf.h The include/linux/compat_autoconf.h is used to let drivers know of options we have selected. The scripts used to generate will grep for all config options on config.mk which start with CONFIG_. By adding a space we prevent it from adding options. By preventing it from appearing on compat_autoconf.h it lets us selectively disable building bluetooth under certain conditions, which we will do next in a separate patch. Signed-off-by: Luis R. Rodriguez --- diff --git a/config.mk b/config.mk index 8f553c76f45b..b8ed05c89fba 100644 --- a/config.mk +++ b/config.mk @@ -93,8 +93,8 @@ endif ifeq ($(CONFIG_BT),y) # we'll ignore compiling bluetooth else -CONFIG_COMPAT_BLUETOOTH=y -CONFIG_COMPAT_BLUETOOTH_MODULES=m + CONFIG_COMPAT_BLUETOOTH=y + CONFIG_COMPAT_BLUETOOTH_MODULES=m endif