Skip to content

Commit

Permalink
Update buildcross.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Aug 26, 2023
1 parent a7ea7fe commit 2e404b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildcross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ cd ..
#prepping kernel
git clone https://github.com/OpenHD/RK_Kernel kernel --depth=1

#dirty-hack
cp -r * /home/runner/work/rtl8812au/rtl8812au/drivers/net/wireless/rtl8812au/

#build driver
mkdir package
export KERNEL_VERSION="5.10.110-99-rockchip"
export CROSS_COMPILE=crosscompiler/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
make KSRC= kernel -j $J_CORES M=$(pwd) modules || exit 1
make KSRC=kernel -j $J_CORES M=$(pwd) modules || exit 1
mkdir -p package/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/realtek/rtl8812au
install -p -m 644 88XXau_wfb.ko "package/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/88XXau_wfb.ko"

Expand Down

0 comments on commit 2e404b3

Please sign in to comment.