path: root/utils/config
Commit message (Collapse)AuthorAgeFilesLines
* utils/config: new script to manipulate .config files on the command lineGravatar Marcus Folkesson2017-09-271-0/+206
Default prefix is set to `BR2_` but may be overidden by setting BR2_PREFIX. Example usage: Enable `BR2_PACKAGE_GNUPG`: ./utils/config --package --enable GNUPG Check state of config option `BR2_PACKAGE_GNUPG`: ./utils/config --package --state GNUPG y Enable `BR2_PACKAGE_GNUPG`: ./utils/config --package --disable GNUPG Set `BR2_TARGET_GENERIC_ISSUE` to "Welcome": ./utils/config --set-str TARGET_GENERIC_ISSUE "Welcome" Copied from the Linux kernel (4.13-rc6) source code and adapted to Buildroot. Thanks to Andi Kleen who is the original author of this script. Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> [Arnout: merge the two tr invications] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>