You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
483 B
17 lines
483 B
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:
|
|
|