parent
ef60b29c05
commit
981a1f0f6e
|
@ -0,0 +1,11 @@
|
|||
. $stdenv/setup
|
||||
|
||||
preBuild() {
|
||||
kernelhash=$(ls $kernel/lib/modules)
|
||||
echo $kernelhash
|
||||
ln -s $kernel/lib/modules/$kernelhash/build linux
|
||||
}
|
||||
|
||||
preBuild=preBuild
|
||||
|
||||
genericBuild
|
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dietlibc-0.29";
|
||||
src = fetchurl {
|
||||
url = http://www.kernel.org/pub/linux/libs/dietlibc/dietlibc-0.29.tar.bz2;
|
||||
md5 = "16d31dd7b5f9124e8ea8280c3f646e13";
|
||||
};
|
||||
patches = [./dietlibc-install.patch];
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
diff -ruN dietlibc-0.29/Makefile dietlibc-0.29.new/Makefile
|
||||
--- dietlibc-0.29/Makefile 2005-05-18 16:38:55.000000000 +0200
|
||||
+++ dietlibc-0.29.new/Makefile 2005-08-28 01:02:50.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
INSTALL=install
|
||||
-prefix?=/opt/diet
|
||||
+prefix?=${out}
|
||||
# Set the following to install to a different root
|
||||
#DESTDIR=/tmp/fefix
|
||||
# Use "make DEBUG=1" to compile a debug version.
|
|
@ -1089,6 +1089,10 @@ rec {
|
|||
|
||||
### OS-SPECIFIC
|
||||
|
||||
dietlibc = (import ../os-specific/linux/dietlibc) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
hwdata = (import ../os-specific/linux/hwdata) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue