1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/wpa_supplicant/wpa_supplicant.conf
3 # Copyright (C) 2007 - 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 var_append makeopt ' ' 'BINDIR=$sbindir LIBDIR=$libdir'
13 var_append makeinstopt ' ' 'BINDIR=$sbindir LIBDIR=$libdi'
15 hook_add preconf 3 'cd wpa_supplicant'
16 hook_add premake 3 'cp -v ./defconfig .config'
17 hook_add premake 5 'echo "CONFIG_LIBNL32=y" >> .config'
18 pkginstalled dbus || hook_add premake 5 'sed -i "s/CONFIG_CTRL_IFACE_DBUS_NEW=y/#&/" .config'
19 hook_add postmake 3 'cp examples/wpa-psk-tkip.conf $root$sysconfdir/wpa_supplicant.conf'