mid-kid
8 years ago
1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||
import 'vcs/git' |
|||
|
|||
name=rt8192cu |
|||
|
|||
define_option "kver=$(uname -r): The kernel version we're building for" |
|||
|
|||
vcs_git "https://github.com/dz0ny/$name" |
|||
header_end |
|||
|
|||
kver="$(option =kver)" |
|||
|
|||
cd "$name" |
|||
make KSRC="$dir_sysroot/lib/modules/$kver/build" modules |
|||
install -Dm644 -t "$dir_install/lib/modules/$kver/kernel/drivers/net/wireless" 8192cu.ko |
|||
install -Dm644 blacklist-dkms-8192cu.conf "$dir_install/$dir_sysconfdir/modprobe.d/$name.conf" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
Loading…
Reference in new issue