forked from mirrors/nixpkgs
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
23 lines
379 B
Bash
23 lines
379 B
Bash
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
|
|
|
|
mkdir -p $out/lib/modules/$version/kernel/drivers/usb/media/
|
|
|
|
genericBuild
|
|
|
|
echo "b0rken"
|
|
|
|
exit 1
|