aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Batyuk <abbat.2008@gmail.com>2021-01-10 19:55:36 +0600
committerAleksandr Batyuk <abbat.2008@gmail.com>2021-01-10 19:55:36 +0600
commitf0a930bd5ecfcc801b6124648aa0f70fe96b23e2 (patch)
treed2da86b1e3283c51f730ec0b7890a9673b3710af /net-wireless
parentgames-action/ATLauncher: version bump 3.4.2.1 (diff)
downloadguru-f0a930bd5ecfcc801b6124648aa0f70fe96b23e2.tar.gz
guru-f0a930bd5ecfcc801b6124648aa0f70fe96b23e2.tar.bz2
guru-f0a930bd5ecfcc801b6124648aa0f70fe96b23e2.zip
net-wireless/rtl8821cu: Fix build fail
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aleksandr Batyuk <abbat.2008@gmail.com>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/rtl8821cu/rtl8821cu-0_pre20201224.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-wireless/rtl8821cu/rtl8821cu-0_pre20201224.ebuild b/net-wireless/rtl8821cu/rtl8821cu-0_pre20201224.ebuild
index bd7dafb66..673fb01d9 100644
--- a/net-wireless/rtl8821cu/rtl8821cu-0_pre20201224.ebuild
+++ b/net-wireless/rtl8821cu/rtl8821cu-0_pre20201224.ebuild
@@ -19,3 +19,9 @@ S="${WORKDIR}/rtl8821CU-${COMMIT}"
MODULE_NAMES="8821cu(net/wireless)"
BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERN_DIR=${KV_DIR} ARCH=$(uname -m | sed -e s/i.86/i386/) KSRC=${KV_DIR} KERN_VER=${KV_FULL}"
+}