forked from OpenDingux/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package/{hostapd, wpa_s}: modify config options handling
Makefiles hostapd.mk and wpa_supplicant.mk define different macros for different defconfig options. Options that are not listed in defconfig, can be set using CONFIG_SET. Options that are listed in defconfig, can be enabled or disabled using CONFIG_ENABLE or CONFIG_DISABLE. Starting from hostapd v2.10, option CONFIG_DPP is explicitly listed in defconfig. So it would be time to switch to enable/disable macros for this option. On the other hand, this approach looks fragile: we have to track 'promoted' defconfig options for each hostapd/wpa_s update. This patch removes CONFIG_SET macros, keeping only CONFIG_ENABLED/CONFIG_DISABLED. CONFIG_SET is replaced by the additional pass over enabled options. All such options that are not listed in defconfig, will be appended to the configuration file. Fixes: - http://autobuild.buildroot.net/results/3f8058ee6f3913fda795578f206db895731ba1e6/ Signed-off-by: Sergey Matyukevich <[email protected]> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters