From 4f321aefd84259e8f44ff9d080ffdf7ac41290c4 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 3 Apr 2013 14:04:58 +0200 Subject: [PATCH] fix compat dependencies Apparently "depends on !FOO" will be OK if FOO=m, which isn't what we want, so make it FOO = n. Signed-off-by: Johannes Berg --- backport/compat/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig index 0edd2fb6cfc6..c5472d3ea8a2 100644 --- a/backport/compat/Kconfig +++ b/backport/compat/Kconfig @@ -23,7 +23,7 @@ # # this is an example of backporting where the version of # # the FOO subsystem that we need is only available from # # kernel version X.Z -# depends on !FOO || BACKPORT_KERNEL_X_Z +# depends on FOO = n || BACKPORT_KERNEL_X_Z # # # build if driver needs it (it selects BACKPORT_FOO) # default m if BACKPORT_FOO @@ -57,7 +57,7 @@ config BACKPORT_BUILD_FW_LOADER tristate # RHEL6, starting from 6.0, backports the FW loader already depends on !BACKPORT_RHEL_KERNEL_6_0 - depends on !FW_LOADER || BACKPORT_KERNEL_2_6_33 + depends on FW_LOADER = n || BACKPORT_KERNEL_2_6_33 default m if BACKPORT_FW_LOADER default m if BACKPORT_USERSEL_BUILD_ALL @@ -86,7 +86,7 @@ config BACKPORT_BUILD_KFIFO config BACKPORT_BUILD_CORDIC tristate - depends on !CORDIC + depends on CORDIC = n default m if BACKPORT_CORDIC default m if BACKPORT_USERSEL_BUILD_ALL @@ -95,7 +95,7 @@ config BACKPORT_CORDIC config BACKPORT_BUILD_CRC8 tristate - depends on !CRC8 + depends on CRC8 = n default m if BACKPORT_CRC8 default m if BACKPORT_USERSEL_BUILD_ALL @@ -113,7 +113,7 @@ config BACKPORT_OPTION_BT_SOCK_CREATE_NEEDS_KERN config BACKPORT_BUILD_AVERAGE bool - depends on !AVERAGE + depends on AVERAGE = n default y if BACKPORT_USERSEL_BUILD_ALL default y if BACKPORT_AVERAGE -- 2.30.2