2006-01-03 15:49:54 +00:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
hashname=$(basename $kernel)
|
|
|
|
echo $hashname
|
|
|
|
if echo "$hashname" | grep -q '^[a-z0-9]\{32\}-'; then
|
|
|
|
hashname=$(echo "$hashname" | cut -c -32)
|
|
|
|
fi
|
|
|
|
|
|
|
|
stripHash $kernel
|
|
|
|
version=$(echo $strippedName | cut -c 7-)-$hashname
|
|
|
|
|
|
|
|
echo "version $version"
|
|
|
|
|
|
|
|
export version
|
|
|
|
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/lib/modules/$version/kernel/drivers/usb/media/
|
2006-01-03 15:49:54 +00:00
|
|
|
|
|
|
|
genericBuild
|
2006-07-17 08:49:17 +01:00
|
|
|
|
|
|
|
echo "b0rken"
|
|
|
|
|
|
|
|
exit 1
|