abuild: remove predefined mod splitfunc

It is never and should never be used.
This commit is contained in:
Natanael Copa 2012-10-10 17:40:28 +00:00
parent c15218221e
commit f8ac8f3049

View File

@ -1151,22 +1151,6 @@ doc() {
default_doc
}
# predefined splitfunc mod
default_mod() {
depends="$kernel $depends_mod"
for i in firmware modules; do
if [ -d "$pkgdir/lib/$i" ]; then
rm -rf "$subpkgdir/lib"
mkdir -p "$subpkgdir/lib"
mv "$pkgdir/lib/$i" "$subpkgdir/lib"
fi
done
}
mod() {
default_mod
}
# predefined splitfunc dev
default_dev() {
local i= j=