From cc1fd3122fabbef3da864865adc736ebb6438e38 Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Thu, 25 Jul 2024 09:06:53 +0200 Subject: [PATCH] Improve AX3600 build --- .github/workflows/ax3600.yaml | 3 +++ configs/common/nss | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/ax3600.yaml b/.github/workflows/ax3600.yaml index 04e1eb4..9de12d1 100644 --- a/.github/workflows/ax3600.yaml +++ b/.github/workflows/ax3600.yaml @@ -52,6 +52,8 @@ jobs: curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/qualcommax/ax3600 > .config curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/main-router >> .config curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/nss >> .config + sed -i '/CONFIG_ALL_KMODS=y/d' .config + sed -i '/CONFIG_ALL_NONSHARED=y/d' .config make defconfig # - name: Remove packages that are marked as modules @@ -61,6 +63,7 @@ jobs: - name: Download dependencies run: make -j $(nproc) download + # If debugging and container is a root: export FORCE_UNSAFE_CONFIGURE=1 - name: Build the firmware image run: make -j $(nproc) world diff --git a/configs/common/nss b/configs/common/nss index b9912d5..58d3174 100644 --- a/configs/common/nss +++ b/configs/common/nss @@ -36,3 +36,14 @@ CONFIG_PACKAGE_kmod-usb-dwc3=n CONFIG_PACKAGE_kmod-usb-dwc3-qcom=n CONFIG_PACKAGE_kmod-usb-xhci-hcd=n CONFIG_PACKAGE_kmod-usb3=n + +# From https://github.com/AgustinLorenzo/openwrt +CONFIG_PACKAGE_kmod-qca-nss-drv-eogremgr=y +CONFIG_PACKAGE_kmod-qca-nss-drv-gre=y +CONFIG_PACKAGE_kmod-qca-nss-drv-igs=y +CONFIG_PACKAGE_kmod-qca-nss-drv-lag-mgr=y +CONFIG_PACKAGE_kmod-qca-nss-drv-map-t=y +CONFIG_PACKAGE_kmod-qca-nss-drv-match=y +CONFIG_PACKAGE_kmod-qca-nss-drv-pppoe=y +CONFIG_PACKAGE_kmod-qca-nss-drv-pptp=y +CONFIG_PACKAGE_kmod-qca-nss-drv-qdisc=y