Skip to content

Commit

Permalink
freggin hell crosscompile
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Mar 21, 2024
1 parent fc5a0e1 commit f19b48e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_x20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
mkdir -p OpenHD-X20-kernel
unzip OpenHD-X20-kernel.zip -d OpenHD-X20-kernel/
cd OpenHD-X20-kernel/OpenHD-X20-kernel/
cd drivers/net/wireless/
git clone https://github.com/openhd/rtl8812au
cd rtl8812au
sed -i '306d;305d;304d;302d' Makefile
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- x20_defconfig
make prepare
cd ../../
Expand Down

0 comments on commit f19b48e

Please sign in to comment.