mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03: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 = ''
|
preConfigure = ''
|
||||||
killOption () {
|
killOption () {
|
||||||
sed -re "s/$1=[ym]/# $1 is not set" -i .config
|
sed -re "s/$1=[ym]/# $1 is not set/" -i .config
|
||||||
}
|
}
|
||||||
setOptionMod () {
|
setOptionMod () {
|
||||||
sed -re "s/# $1 is not set/$1=m" -i .config
|
sed -re "s/# $1 is not set/$1=m/" -i .config
|
||||||
}
|
}
|
||||||
setOptionYes () {
|
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
|
make allmodconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user