From f19b48efd05de28bd67c6658bbd058c71e5b9177 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Thu, 21 Mar 2024 02:31:06 +0100 Subject: [PATCH] freggin hell crosscompile --- .github/workflows/build_x20.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build_x20.yml b/.github/workflows/build_x20.yml index fd56ef44..29f3e72a 100644 --- a/.github/workflows/build_x20.yml +++ b/.github/workflows/build_x20.yml @@ -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 ../../