mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
48c3faca51
svn path=/nixpkgs/trunk/; revision=502
13 lines
291 B
Bash
Executable File
13 lines
291 B
Bash
Executable File
#! /bin/sh
|
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
tar xvfj $src || exit 1
|
|
cd linux-* || exit 1
|
|
make include/linux/version.h || exit 1
|
|
mkdir $out || exit 1
|
|
mkdir $out/include || exit 1
|
|
cp -prvd include/linux include/asm-i386 $out/include || exit 1
|
|
cd $out/include || exit 1
|
|
ln -s asm-i386 asm || exit 1
|