mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
1b39a96d37
* Updated to 2.4.25. svn path=/nixpkgs/trunk/; revision=819
18 lines
297 B
Bash
Executable file
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
|