From: Johannes Berg Date: Wed, 3 Apr 2013 12:07:36 +0000 (+0200) Subject: Revert "fix compat dependencies" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a5d1d42c3b642641712cec27c22d68ec48d10640;p=openwrt%2Fstaging%2Fblogic.git Revert "fix compat dependencies" This reverts commit 4f321aefd84259e8f44ff9d080ffdf7ac41290c4. That didn't work if the symbol isn't defined at all ... Signed-off-by: Johannes Berg --- diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig index c5472d3ea8a2..0edd2fb6cfc6 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 = n || BACKPORT_KERNEL_X_Z +# depends on !FOO || 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 = n || BACKPORT_KERNEL_2_6_33 + depends on !FW_LOADER || 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 = n + depends on !CORDIC 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 = n + depends on !CRC8 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 = n + depends on !AVERAGE default y if BACKPORT_USERSEL_BUILD_ALL default y if BACKPORT_AVERAGE