* Strangely, running "make defconfig" before the generator causes
"make config" to print an additional question that the script doesn't know how to answer ("Audio Excel DSP 16 [N/y] (NEW) ###"). Just ignore it. svn path=/nixpkgs/branches/stdenv-updates/; revision=19713
This commit is contained in:
parent
e9ff6517b9
commit
e04beb262e
@ -24,7 +24,7 @@ configurePhase() {
|
|||||||
# generate-config.pl can answer them.
|
# generate-config.pl can answer them.
|
||||||
sed -e '/fflush(stdout);/i\printf("###");' -i scripts/kconfig/conf.c
|
sed -e '/fflush(stdout);/i\printf("###");' -i scripts/kconfig/conf.c
|
||||||
|
|
||||||
# Get a basic config file for later refinement with $generateConfig
|
# Get a basic config file for later refinement with $generateConfig.
|
||||||
make $kernelBaseConfig ARCH=$arch
|
make $kernelBaseConfig ARCH=$arch
|
||||||
|
|
||||||
# Create the config file.
|
# Create the config file.
|
||||||
@ -33,12 +33,14 @@ configurePhase() {
|
|||||||
DEBUG=1 ARCH=$arch KERNEL_CONFIG=kernel-config perl -w $generateConfig
|
DEBUG=1 ARCH=$arch KERNEL_CONFIG=kernel-config perl -w $generateConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
postBuild() {
|
postBuild() {
|
||||||
if [ "$platformName" == "sheevaplug" ]; then
|
if [ "$platformName" == "sheevaplug" ]; then
|
||||||
make uImage
|
make uImage
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
installPhase() {
|
installPhase() {
|
||||||
|
|
||||||
ensureDir $out
|
ensureDir $out
|
||||||
|
@ -94,7 +94,8 @@ sub runConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
die "don't know how to answer this question: $line\n";
|
warn "don't know how to answer this question: $line\n";
|
||||||
|
print OUT "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$line = "";
|
$line = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user