|
@ -10,7 +10,7 @@ header_end |
|
|
kver="$(option =kver)" |
|
|
kver="$(option =kver)" |
|
|
|
|
|
|
|
|
cd "$name" |
|
|
cd "$name" |
|
|
make KSRC="/lib/modules/$kver/build" modules |
|
|
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 -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" |
|
|
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" |
|
|
echo 'blacklist rtl8xxxu' >> "$dir_install/$dir_prefix/$dir_sysconfdir/modprobe.d/$name.conf" |
|
|