nixpkgs/pkgs/os-specific/linux/kernel-headers/builder.sh
Eelco Dolstra 1b39a96d37 * Create a dummy linux/autoconf.h, which is needed by linux/config.h.
* Updated to 2.4.25.

svn path=/nixpkgs/trunk/; revision=819
2004-03-09 10:28:31 +00:00

18 lines
297 B
Bash
Executable file

#! /bin/sh
. $stdenv/setup
tar xvfj $src
cd linux-*
make include/linux/version.h
mkdir $out
mkdir $out/include
cp -prvd include/linux include/asm-i386 $out/include
cd $out/include
ln -s asm-i386 asm
# config.h includes autoconf.h, which doesn't exist.
echo -n > $out/include/linux/autoconf.h