mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Again, trying to fix the kernel build.
It seems that there is no make target named 'vmlinuz' that makes the file 'vmlinuz'. So we need different variables for the make target and the kernel file. Unless we some day stop using the file 'vmlinuz' in pc, and use bzImage. svn path=/nixpkgs/trunk/; revision=20092
This commit is contained in:
parent
513443dc9f
commit
5fc64e5f9c
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ mesa qt4 tcl tk];
|
||||
|
||||
preConfigure = "cd ros";
|
||||
preConfigure = ''
|
||||
export LDFLAGS=-L$out/lib
|
||||
cd ros
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv $out/inc $out/include
|
||||
|
@ -40,7 +40,9 @@ configurePhase() {
|
||||
postBuild() {
|
||||
# After the builder did a 'make all' (kernel + modules)
|
||||
# we force building the target asked: bzImage/zImage/uImage/...
|
||||
make $makeFlags $kernelTarget
|
||||
if [ "$kernelTarget" != "vmlinuz" ]; then
|
||||
make $makeFlags $kernelTarget
|
||||
fi
|
||||
}
|
||||
|
||||
installPhase() {
|
||||
|
Loading…
Reference in New Issue
Block a user