Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
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.
|
|
|
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 USER_EXTRA_CFLAGS='-Wno-error=incompatible-pointer-types' KSRC="/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_prefix/$dir_sysconfdir/modprobe.d/$name.conf"
|
|
|
|
echo 'blacklist rtl8xxxu' >> "$dir_install/$dir_prefix/$dir_sysconfdir/modprobe.d/$name.conf"
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|