network/rtl8812bu: Fix 32bit build.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2023-07-30 18:11:01 +09:00 committed by Willy Sudiarto Raharjo
parent a618920ebf
commit 1f6356d860
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 7 additions and 1 deletions

View File

@ -52,7 +52,13 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
export KVER=$KERNEL
env -u ARCH make
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] ; then
# auto detect in the Makefile does not work and sets ARCH to `uname -m`, but
# it only builds if it is set to i386
ARCH=i386 make
else
env -u ARCH make
fi
install -D -m0644 88x2bu.ko \
$PKG/lib/modules/$KERNEL/kernel/drivers/net/wireless/88x2bu.ko