Skip to content

Commit

Permalink
[powershell] add menuconfig support
Browse files Browse the repository at this point in the history
  • Loading branch information
Guozhanxin committed Mar 9, 2023
1 parent 4dbe8ad commit 0da03fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Binary file added kconfig-mconf.zip
Binary file not shown.
10 changes: 10 additions & 0 deletions menuconfig.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$env_bin_dir = "$HOME\.env\tools\bin"

if (!(Test-Path -Path $env_bin_dir)) {
echo 'Can not find kconfig-mconf, install now.'
mkdir $env_bin_dir | Out-Null
Expand-Archive -Path kconfig-mconf.zip -DestinationPath $env_bin_dir
echo 'install kconfig-mconf done.'
}
$env:path="$HOME\.env\tools\bin;$env:path"
python $HOME/.env/tools/scripts/env.py menuconfig $args

0 comments on commit 0da03fa

Please sign in to comment.