From 87fa4ec538b732e7f3996ac8cb3104062217a4f4 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Thu, 22 Sep 2016 09:31:15 +0200 Subject: [PATCH] Add rt8192cu-git.sat --- satellites/rt8192cu-git.sat | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 satellites/rt8192cu-git.sat diff --git a/satellites/rt8192cu-git.sat b/satellites/rt8192cu-git.sat new file mode 100644 index 0000000..8d3f762 --- /dev/null +++ b/satellites/rt8192cu-git.sat @@ -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: