e83fe5ee78
(/usr/include, /usr/local/include, etc.). * Immediate pay-off: we see that the glibc header files depend on the Linux kernel header files. So I've added a package that extracts the appropriate headers from Linux 2.4.22. svn path=/nixpkgs/trunk/; revision=361
12 lines
258 B
Bash
Executable file
12 lines
258 B
Bash
Executable file
#! /bin/sh
|
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
mkdir $out || exit 1
|
|
cd $out || exit 1
|
|
tar xvfj $src 'linux-*/include/linux' 'linux-*/include/asm-i386' || exit 1
|
|
mv linux-*/include . || exit 1
|
|
rmdir linux-* || exit 1
|
|
cd include || exit 1
|
|
ln -s asm-i386 asm || exit 1
|