forked from mirrors/nixpkgs
compile with the right kernel, mark the compilation as b0rken (because it
is and needs more investigation) svn path=/nixpkgs/trunk/; revision=5726
This commit is contained in:
parent
e2d170f18e
commit
1fc6ce85c4
|
@ -16,3 +16,7 @@ export version
|
|||
ensureDir $out/lib/modules/$version/kernel/drivers/usb/media/
|
||||
|
||||
genericBuild
|
||||
|
||||
echo "b0rken"
|
||||
|
||||
exit 1
|
||||
|
|
|
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||
url = http://www.ovcam.org/ov511/download/2.xx/distros/ov511-2.32.tar.bz2;
|
||||
md5 = "6a08025311649356242761641a1df0f2";
|
||||
};
|
||||
patches = [./ov511-kernel.patch ./ov511-2.32.patch];
|
||||
patches = [./ov511-kernel.patch ./ov511-2.32.patch ./ov511-2.32-kdir.patch];
|
||||
inherit kernel;
|
||||
NIX_GLIBC_FLAGS_SET=1;
|
||||
}
|
||||
|
|
20
pkgs/os-specific/linux/ov511/ov511-2.32-kdir.patch
Normal file
20
pkgs/os-specific/linux/ov511/ov511-2.32-kdir.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff -rc ov511-2.32/Makefile ov511-2.32.new/Makefile
|
||||
*** ov511-2.32/Makefile 2006-03-28 17:47:31.000000000 +0200
|
||||
--- ov511-2.32.new/Makefile 2006-07-17 09:46:17.000000000 +0200
|
||||
***************
|
||||
*** 114,120 ****
|
||||
|
||||
else # We were called from command line
|
||||
|
||||
! KDIR := /lib/modules/$(shell uname -r)/build
|
||||
PWD := $(shell pwd)
|
||||
|
||||
default:
|
||||
--- 114,120 ----
|
||||
|
||||
else # We were called from command line
|
||||
|
||||
! KDIR := $(kernel)/lib/modules/$(version)/build
|
||||
PWD := $(shell pwd)
|
||||
|
||||
default:
|
Loading…
Reference in a new issue