Merge pull request #148811 from KAction/fix/wpa_supplicant
wpa_supplicant: fix withDbus=false build
This commit is contained in:
commit
a50861d1d6
@ -72,6 +72,16 @@ stdenv.mkDerivation rec {
|
||||
CONFIG_CTRL_IFACE_DBUS=y
|
||||
CONFIG_CTRL_IFACE_DBUS_NEW=y
|
||||
CONFIG_CTRL_IFACE_DBUS_INTRO=y
|
||||
''
|
||||
# Upstream uses conditionals based on ifdef, so opposite of =y is
|
||||
# not =n, as one may expect, but undefine. People, why don't you
|
||||
# just use KBuild and stop reinventing the wheel?
|
||||
#
|
||||
# This config is sourced into makefile.
|
||||
+ optionalString (!withDbus) ''
|
||||
undefine CONFIG_CTRL_IFACE_DBUS
|
||||
undefine CONFIG_CTRL_IFACE_DBUS_NEW
|
||||
undefine CONFIG_CTRL_IFACE_DBUS_INTRO
|
||||
'' + (if withReadline then ''
|
||||
CONFIG_READLINE=y
|
||||
'' else ''
|
||||
|
Loading…
Reference in New Issue
Block a user