diff --git a/utils/genrandconfig b/utils/genrandconfig index efa73e938d..e43452d5b7 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -250,7 +250,7 @@ def fixup_config(sysinfo, configfile): # libopenssl needs atomic, but propagating this dependency in # Buildroot is really too much work, so we handle this here. if 'BR2_PACKAGE_LIBOPENSSL=y\n' in configlines and \ - not 'BR2_TOOLCHAIN_HAS_ATOMIC=y\n' in configlines: + 'BR2_TOOLCHAIN_HAS_ATOMIC=y\n' not in configlines: return False if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines: configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n')