mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Fix kernel configuration editing script snippets
svn path=/nixpkgs/trunk/; revision=17053
This commit is contained in:
parent
e1faa9650d
commit
7cc0f07690
@ -23,13 +23,13 @@ in
|
||||
|
||||
preConfigure = ''
|
||||
killOption () {
|
||||
sed -re "s/$1=[ym]/# $1 is not set" -i .config
|
||||
sed -re "s/$1=[ym]/# $1 is not set/" -i .config
|
||||
}
|
||||
setOptionMod () {
|
||||
sed -re "s/# $1 is not set/$1=m" -i .config
|
||||
sed -re "s/# $1 is not set/$1=m/" -i .config
|
||||
}
|
||||
setOptionYes () {
|
||||
sed -re "s/# $1 is not set/$1=y" -i .config
|
||||
sed -re "s/# $1 is not set/$1=y/" -i .config
|
||||
}
|
||||
|
||||
make allmodconfig
|
||||
|
Loading…
Reference in New Issue
Block a user