coolsnowwolf / lede

Lean's LEDE source
Other
29.48k stars 19.49k forks source link

kmod-crypto-misc missing: glue_helper.ko #8948

Closed helmiau closed 2 years ago

helmiau commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:kmod-crypto-misc error build due to glue_helper.ko is missing

(2) 路由器型号和固件版本

A:x86 generic, ASUS N46VZ, Lede source before this https://github.com/coolsnowwolf/lede/commit/3ea7ae24c60e1c6f29959961cebb28d6858a73df commit

(3) 详细日志

A:

make[2]: Entering directory '/openwrt/package/kernel/linux'
ERROR: module '/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/linux-5.15.25/arch/x86/crypto/glue_helper.ko' is missing.
make[2]: *** [/openwrt/bin/targets/x86/generic/packages/kmod-crypto-misc_5.15.25-1_i386_pentium4.ipk] Error 1
modules/crypto.mk:752: recipe for target '/openwrt/bin/targets/x86/generic/packages/kmod-crypto-misc_5.15.25-1_i386_pentium4.ipk' failed
make[2]: Leaving directory '/openwrt/package/kernel/linux'
time: package/kernel/linux/compile#2.53#0.31#2.84
    ERROR: package/kernel/linux failed to build.
package/Makefile:114: recipe for target 'package/kernel/linux/compile' failed
make[1]: Leaving directory '/openwrt'
make[1]: *** [package/kernel/linux/compile] Error 1
make: *** [package/compile] Error 2
WYC-2020 commented 2 years ago

@helmiau https://github.com/WYC-2020/lede/commit/205d384f392ee6307fc73e083c67064ef6eaac65

helmiau commented 2 years ago

Thank you @WYC-2020 , i will report later

but can you give me some suggestion about this logs too? i was tried to compile x86 firmware with 5.4, 5.10, and 5.15 kernel, and i got these errors.

2022-02-27T01:23:59.3680018Z make[3]: Entering directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-02-27T01:23:59.3813432Z make[4]: 'Kconfig.versions' is up to date.
2022-02-27T01:23:59.4001904Z make[6]: 'Kconfig.versions' is up to date.
2022-02-27T01:23:59.4117804Z make[7]: 'conf' is up to date.
2022-02-27T01:23:59.4270543Z boolean symbol CRYPTO_LIB_ARC4 tested for 'm'? test forced to 'n'
2022-02-27T01:23:59.4271113Z #
2022-02-27T01:23:59.4272135Z # configuration written to .config
2022-02-27T01:23:59.4272512Z #
2022-02-27T01:23:59.4455411Z Building backport-include/backport/autoconf.h ... done.
2022-02-27T01:24:00.1399765Z   CC [M]  /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210/ethtool.o
2022-02-27T01:24:00.9420092Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210/ethtool.c:102:18: error: initialization of 'int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)' from incompatible pointer type 'int (*)(struct net_device *, struct ethtool_coalesce *)' [-Werror=incompatible-pointer-types]
2022-02-27T01:24:00.9421033Z   .get_coalesce = wil_ethtoolops_get_coalesce,
2022-02-27T01:24:00.9421345Z                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-02-27T01:24:00.9422217Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210/ethtool.c:102:18: note: (near initialization for 'wil_ethtool_ops.get_coalesce')
2022-02-27T01:24:00.9423777Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210/ethtool.c:103:18: error: initialization of 'int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)' from incompatible pointer type 'int (*)(struct net_device *, struct ethtool_coalesce *)' [-Werror=incompatible-pointer-types]
2022-02-27T01:24:00.9424622Z   .set_coalesce = wil_ethtoolops_set_coalesce,
2022-02-27T01:24:00.9424924Z                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-02-27T01:24:00.9425742Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210/ethtool.c:103:18: note: (near initialization for 'wil_ethtool_ops.set_coalesce')
2022-02-27T01:24:00.9785506Z cc1: some warnings being treated as errors
2022-02-27T01:24:00.9839781Z make[10]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210/ethtool.o] Error 1
2022-02-27T01:24:00.9840750Z scripts/Makefile.build:277: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210/ethtool.o' failed
2022-02-27T01:24:00.9848329Z make[9]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210] Error 2
2022-02-27T01:24:00.9849119Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath/wil6210' failed
2022-02-27T01:24:00.9850219Z make[8]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath] Error 2
2022-02-27T01:24:00.9854997Z make[7]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless] Error 2
2022-02-27T01:24:00.9856152Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ath' failed
2022-02-27T01:24:00.9857172Z make[6]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1] Error 2
2022-02-27T01:24:00.9858083Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless' failed
2022-02-27T01:24:00.9859058Z Makefile:1868: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1' failed
2022-02-27T01:24:00.9859631Z make[5]: *** [modules] Error 2
2022-02-27T01:24:00.9860884Z make[4]: *** [modules] Error 2
2022-02-27T01:24:00.9862976Z make[3]: *** [modules] Error 2
2022-02-27T01:24:00.9865289Z make[2]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built] Error 2
2022-02-27T01:24:00.9876062Z Makefile.build:13: recipe for target 'modules' failed
2022-02-27T01:24:00.9877224Z Makefile.real:93: recipe for target 'modules' failed
2022-02-27T01:24:00.9877636Z Makefile:120: recipe for target 'modules' failed
2022-02-27T01:24:00.9878277Z make[3]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-02-27T01:24:00.9879068Z Makefile:578: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built' failed
2022-02-27T01:24:00.9879751Z make[2]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/package/kernel/mac80211'
2022-02-27T01:24:00.9880169Z time: package/kernel/mac80211/regular/compile#1.34#0.53#2.20
2022-02-27T01:24:00.9880661Z     ERROR: package/kernel/mac80211 failed to build (build variant: regular).
2022-02-27T01:24:00.9894611Z make[1]: *** [package/kernel/mac80211/compile] Error 1
2022-02-27T01:24:00.9895256Z package/Makefile:114: recipe for target 'package/kernel/mac80211/compile' failed
2022-02-27T01:24:00.9915705Z make[1]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt'
2022-02-27T01:24:00.9930018Z make: *** [package/compile] Error 2
2022-02-27T01:24:00.9930736Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/include/toplevel.mk:228: recipe for target 'package/compile' failed
2022-02-27T01:24:00.9999494Z ##[error]Process completed with exit code 2.

I have read this https://github.com/coolsnowwolf/lede/issues/8940#issuecomment-1051410057 commit comment, but i don't know what i must do.

Thanks before.

WYC-2020 commented 2 years ago

@helmiau I'll look at it later

WYC-2020 commented 2 years ago

@helmiau https://github.com/WYC-2020/lede/commit/71e0b9d1334a8dc735231da4ff81e60c3006410d

WYC-2020 commented 2 years ago

@helmiau I tested the 5.4 5.10 5.15 kernel and it is fine, you can test the function, I have no equipment here

helmiau commented 2 years ago

@WYC-2020 i will test it later bro, thanks for your help

helmiau commented 2 years ago

@WYC-2020 here is current error logs after applying your patch https://github.com/WYC-2020/lede/commit/205d384f392ee6307fc73e083c67064ef6eaac65 and https://github.com/WYC-2020/lede/commit/71e0b9d1334a8dc735231da4ff81e60c3006410d


2022-02-27T10:42:45.7121958Z #
2022-02-27T10:42:45.7122227Z # configuration written to .config
2022-02-27T10:42:45.7122514Z #
2022-02-27T10:42:45.7128899Z make[3]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-02-27T10:42:45.7130191Z rm -rf /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/modules
2022-02-27T10:42:45.7177786Z make  -C "/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1" KCFLAGS="-fmacro-prefix-map=/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl=target-x86_64_musl" HOSTCFLAGS="-O2 -I/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/staging_dir/host/include -I/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/staging_dir/hostpkg/include -I/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/staging_dir/target-x86_64_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="x86_64-openwrt-linux-musl-" ARCH="x86" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="helmiau" KBUILD_BUILD_HOST="helmiau.com" KBUILD_BUILD_TIMESTAMP="Sun Feb 27 05:31:25 2022" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V=''  cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/netatop.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/cryptodev-linux.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/r8125.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/trelay.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/nat46.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/r8152.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/gpio-nct5104d.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/fast-classifier.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/rtpengine.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/gpio-button-hotplug.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/dmx_usb_module.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/dahdi-linux.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/button-hotplug.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/r8168.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/ksmbd.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/ovpn-dco.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/shortcut-fe.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/siit.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/gl-mifi-mcu.symvers /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/jool.symvers" KERNELRELEASE=5.15.25 EXTRA_CFLAGS="-I/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/include -fmacro-prefix-map=/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1=backports-5.10.42-1  -I/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/staging_dir/target-x86_64_musl/usr/include/qca-nss-drv" KLIB_BUILD="/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.25" MODPROBE=true KLIB=/lib/modules/5.15.25 KERNEL_SUBLEVEL=15 KBUILD_LDFLAGS_MODULE_PREREQ= modules
2022-02-27T10:42:45.7198204Z make[3]: Entering directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-02-27T10:42:45.7319787Z make[4]: 'Kconfig.versions' is up to date.
2022-02-27T10:42:45.7487924Z make[6]: 'Kconfig.versions' is up to date.
2022-02-27T10:42:45.7595192Z make[7]: 'conf' is up to date.
2022-02-27T10:42:45.7739387Z boolean symbol CRYPTO_LIB_ARC4 tested for 'm'? test forced to 'n'
2022-02-27T10:42:45.7739995Z #
2022-02-27T10:42:45.7740243Z # configuration written to .config
2022-02-27T10:42:45.7740470Z #
2022-02-27T10:42:45.7908045Z Building backport-include/backport/autoconf.h ... done.
2022-02-27T10:42:46.5786598Z   CC [M]  /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi/mvm/tt.o
2022-02-27T10:42:47.5772892Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi/mvm/tt.c: In function 'iwl_mvm_temp_notif':
2022-02-27T10:42:47.5774636Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi/mvm/tt.c:207:3: error: implicit declaration of function 'thermal_notify_framework' [-Werror=implicit-function-declaration]
2022-02-27T10:42:47.5775919Z    thermal_notify_framework(tz_dev->tzone,
2022-02-27T10:42:47.5776208Z    ^~~~~~~~~~~~~~~~~~~~~~~~
2022-02-27T10:42:47.7554789Z cc1: some warnings being treated as errors
2022-02-27T10:42:47.7624487Z make[11]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi/mvm/tt.o] Error 1
2022-02-27T10:42:47.7625342Z scripts/Makefile.build:277: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi/mvm/tt.o' failed
2022-02-27T10:42:47.7626390Z make[10]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi/mvm] Error 2
2022-02-27T10:42:47.7627305Z make[9]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi] Error 2
2022-02-27T10:42:47.7632121Z make[8]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel] Error 2
2022-02-27T10:42:47.7632966Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi/mvm' failed
2022-02-27T10:42:47.7635140Z make[7]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless] Error 2
2022-02-27T10:42:47.7636190Z make[6]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1] Error 2
2022-02-27T10:42:47.7637164Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel/iwlwifi' failed
2022-02-27T10:42:47.7637996Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/intel' failed
2022-02-27T10:42:47.7638778Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless' failed
2022-02-27T10:42:47.7639496Z Makefile:1868: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1' failed
2022-02-27T10:42:47.7640019Z make[5]: *** [modules] Error 2
2022-02-27T10:42:47.7640713Z make[4]: *** [modules] Error 2
2022-02-27T10:42:47.7642273Z make[3]: *** [modules] Error 2
2022-02-27T10:42:47.7649305Z make[2]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built] Error 2
2022-02-27T10:42:47.7649804Z Makefile.build:13: recipe for target 'modules' failed
2022-02-27T10:42:47.7655349Z Makefile.real:93: recipe for target 'modules' failed
2022-02-27T10:42:47.7655977Z Makefile:120: recipe for target 'modules' failed
2022-02-27T10:42:47.7657158Z make[3]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-02-27T10:42:47.7658076Z Makefile:578: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built' failed
2022-02-27T10:42:47.7658817Z make[2]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/package/kernel/mac80211'
2022-02-27T10:42:47.7659587Z time: package/kernel/mac80211/regular/compile#1.74#0.46#2.55
2022-02-27T10:42:47.7660104Z     ERROR: package/kernel/mac80211 failed to build (build variant: regular).
2022-02-27T10:42:47.7662527Z make[1]: *** [package/kernel/mac80211/compile] Error 1
2022-02-27T10:42:47.7663036Z package/Makefile:114: recipe for target 'package/kernel/mac80211/compile' failed
2022-02-27T10:42:47.7695019Z make[1]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt'
2022-02-27T10:42:47.7713249Z make: *** [package/compile] Error 2
2022-02-27T10:42:47.7713807Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/include/toplevel.mk:228: recipe for target 'package/compile' failed
2022-02-27T10:42:47.7789366Z ##[error]Process completed with exit code 2.
WYC-2020 commented 2 years ago

@helmiau https://github.com/WYC-2020/lede/commit/0bdae446b37ca151de2c17902635df59770c5c25

WYC-2020 commented 2 years ago

I fixed this problem before

helmiau commented 2 years ago

okay, i hope this will fix everything.. until you can pull your commits to lede main branch again. Thanks for your support bro @WYC-2020 !.

helmiau commented 2 years ago

bro @WYC-2020 , now this error occurs on my build, any advice?

2022-02-27T17:20:14.4390374Z make[3]: Entering directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-02-27T17:20:14.4536876Z make[4]: 'Kconfig.versions' is up to date.
2022-02-27T17:20:14.4743117Z make[6]: 'Kconfig.versions' is up to date.
2022-02-27T17:20:14.4873272Z make[7]: 'conf' is up to date.
2022-02-27T17:20:14.5046744Z boolean symbol CRYPTO_LIB_ARC4 tested for 'm'? test forced to 'n'
2022-02-27T17:20:14.5047079Z #
2022-02-27T17:20:14.5047333Z # configuration written to .config
2022-02-27T17:20:14.5047588Z #
2022-02-27T17:20:14.5256010Z Building backport-include/backport/autoconf.h ... done.
2022-02-27T17:20:15.1514104Z   CC [M]  /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink/rt2x00/rt2x00dev.o
2022-02-27T17:20:16.2054930Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c: In function 'rt2x00lib_set_mac_address':
2022-02-27T17:20:16.2056618Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:1000:13: error: too few arguments to function 'of_get_mac_address'
2022-02-27T17:20:16.2057702Z   mac_addr = of_get_mac_address(rt2x00dev->dev->of_node);
2022-02-27T17:20:16.2058233Z              ^~~~~~~~~~~~~~~~~~
2022-02-27T17:20:16.2061181Z In file included from /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/backport-include/linux/of_net.h:3,
2022-02-27T17:20:16.2062347Z                  from /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c:19:
2022-02-27T17:20:16.2112896Z ./include/linux/of_net.h:25:19: note: declared here
2022-02-27T17:20:16.2113285Z  static inline int of_get_mac_address(struct device_node *np, u8 *mac)
2022-02-27T17:20:16.2113608Z                    ^~~~~~~~~~~~~~~~~~
2022-02-27T17:20:16.2400613Z make[10]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink/rt2x00/rt2x00dev.o] Error 1
2022-02-27T17:20:16.2401670Z scripts/Makefile.build:277: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink/rt2x00/rt2x00dev.o' failed
2022-02-27T17:20:16.2403146Z make[9]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink/rt2x00] Error 2
2022-02-27T17:20:16.2406086Z make[8]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink] Error 2
2022-02-27T17:20:16.2407136Z make[7]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless] Error 2
2022-02-27T17:20:16.2408068Z make[6]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1] Error 2
2022-02-27T17:20:16.2412451Z make[5]: *** [modules] Error 2
2022-02-27T17:20:16.2413348Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink/rt2x00' failed
2022-02-27T17:20:16.2414034Z make[4]: *** [modules] Error 2
2022-02-27T17:20:16.2414611Z make[3]: *** [modules] Error 2
2022-02-27T17:20:16.2416878Z make[2]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built] Error 2
2022-02-27T17:20:16.2425500Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ralink' failed
2022-02-27T17:20:16.2426473Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless' failed
2022-02-27T17:20:16.2427355Z Makefile:1868: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1' failed
2022-02-27T17:20:16.2427921Z Makefile.build:13: recipe for target 'modules' failed
2022-02-27T17:20:16.2428367Z Makefile.real:93: recipe for target 'modules' failed
2022-02-27T17:20:16.2430975Z Makefile:120: recipe for target 'modules' failed
2022-02-27T17:20:16.2431876Z make[3]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-02-27T17:20:16.2432724Z Makefile:578: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built' failed
2022-02-27T17:20:16.2433452Z make[2]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/package/kernel/mac80211'
2022-02-27T17:20:16.2437424Z time: package/kernel/mac80211/regular/compile#1.47#0.59#2.42
2022-02-27T17:20:16.2439789Z make[1]: *** [package/kernel/mac80211/compile] Error 1
2022-02-27T17:20:16.2440170Z     ERROR: package/kernel/mac80211 failed to build (build variant: regular).
2022-02-27T17:20:16.2441000Z package/Makefile:114: recipe for target 'package/kernel/mac80211/compile' failed
2022-02-27T17:20:16.2470737Z make[1]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt'
2022-02-27T17:20:16.2494507Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/include/toplevel.mk:228: recipe for target 'package/compile' failed
2022-02-27T17:20:16.2499138Z make: *** [package/compile] Error 2
2022-02-27T17:20:16.2561395Z ##[error]Process completed with exit code 2.
WYC-2020 commented 2 years ago

You have compiled too many third-party drivers, they are not compatible with 5.15, I will take a look later

helmiau commented 2 years ago

@WYC-2020 i use 5.4 kernel only, but 5.10 and 5.15 kernel patches is following build, can these patches excluded from build?

WYC-2020 commented 2 years ago

https://github.com/WYC-2020/lede/commit/893ba3d9e6984f90560a0f93921f651ee3ae96cf @helmiau

helmiau commented 2 years ago

how about these logs @WYC-2020 ?

2022-02-28T19:32:37.2778980Z #
2022-02-28T19:32:37.2779276Z # configuration written to .config
2022-02-28T19:32:37.2779588Z #
2022-02-28T19:32:37.2979063Z Building backport-include/backport/autoconf.h ... done.
2022-02-28T19:32:37.8935572Z   CC [M]  /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/admtek/adm8211.o
2022-02-28T19:32:38.9356413Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/admtek/adm8211.c:31:25: error: expected declaration specifiers or '...' before string constant
2022-02-28T19:32:38.9357659Z  MODULE_SUPPORTED_DEVICE("ADM8211");
2022-02-28T19:32:38.9358185Z                          ^~~~~~~~~
2022-02-28T19:32:38.9866698Z make[9]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/admtek/adm8211.o] Error 1
2022-02-28T19:32:38.9868523Z scripts/Makefile.build:277: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/admtek/adm8211.o' failed
2022-02-28T19:32:38.9870645Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/admtek' failed
2022-02-28T19:32:38.9877699Z make[8]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/admtek] Error 2
2022-02-28T19:32:38.9879346Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless' failed
2022-02-28T19:32:38.9881091Z Makefile:1868: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1' failed
2022-02-28T19:32:38.9886587Z make[7]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless] Error 2
2022-02-28T19:32:38.9893296Z Makefile.build:13: recipe for target 'modules' failed
2022-02-28T19:32:38.9894965Z make[6]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1] Error 2
2022-02-28T19:32:38.9895687Z make[5]: *** [modules] Error 2
2022-02-28T19:32:38.9896147Z make[4]: *** [modules] Error 2
2022-02-28T19:32:38.9896598Z make[3]: *** [modules] Error 2
2022-02-28T19:32:38.9897672Z make[2]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built] Error 2
2022-02-28T19:32:38.9898649Z Makefile.real:93: recipe for target 'modules' failed
2022-02-28T19:32:38.9902266Z Makefile:120: recipe for target 'modules' failed
2022-02-28T19:32:38.9903432Z make[3]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-02-28T19:32:38.9904933Z Makefile:578: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built' failed
2022-02-28T19:32:38.9907030Z make[2]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/package/kernel/mac80211'
2022-02-28T19:32:38.9907817Z time: package/kernel/mac80211/regular/compile#1.53#0.50#2.37
2022-02-28T19:32:38.9909049Z     ERROR: package/kernel/mac80211 failed to build (build variant: regular).
WYC-2020 commented 2 years ago

I fixed this, and the lede was merged, the result was canceled by this https://github.com/coolsnowwolf/lede/commit/da34b3a2fb2da075f4e3c7058ab98adbb6eed514, just join

https://github.com/WYC-2020/lede/commit/9ea4c2e7634d73645bd3274f2d5fd8437580ea77 @helmiau

helmiau commented 2 years ago

and now, how about this @WYC-2020 ?

2022-03-01T08:22:23.7111980Z make[3]: Entering directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-03-01T08:22:23.7237562Z make[4]: 'Kconfig.versions' is up to date.
2022-03-01T08:22:23.7404078Z make[6]: 'Kconfig.versions' is up to date.
2022-03-01T08:22:23.7508912Z make[7]: 'conf' is up to date.
2022-03-01T08:22:23.7641537Z boolean symbol CRYPTO_LIB_ARC4 tested for 'm'? test forced to 'n'
2022-03-01T08:22:23.7642133Z #
2022-03-01T08:22:23.7642564Z # configuration written to .config
2022-03-01T08:22:23.7642964Z #
2022-03-01T08:22:23.7809866Z Building backport-include/backport/autoconf.h ... done.
2022-03-01T08:22:24.3134774Z   CC [M]  /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.o
2022-03-01T08:22:25.3071027Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.c: In function 'wlcore_probe':
2022-03-01T08:22:25.3072787Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.c:6787:46: error: 'FW_ACTION_HOTPLUG' undeclared (first use in this function); did you mean 'FLOW_ACTION_SAMPLE'?
2022-03-01T08:22:25.3074029Z    ret = request_firmware_nowait(THIS_MODULE, FW_ACTION_HOTPLUG,
2022-03-01T08:22:25.3075112Z                                               ^~~~~~~~~~~~~~~~~
2022-03-01T08:22:25.3075575Z                                               FLOW_ACTION_SAMPLE
2022-03-01T08:22:25.3076645Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.c:6787:46: note: each undeclared identifier is reported only once for each function it appears in
2022-03-01T08:22:25.3393528Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.c: In function 'wl12xx_init_vif_data':
2022-03-01T08:22:25.3395359Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.c:2229:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-03-01T08:22:25.3486841Z    wlvif->p2p = 1;
2022-03-01T08:22:25.3487069Z    ~~~~~~~~~~~^~~
2022-03-01T08:22:25.3487655Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.c:2231:2: note: here
2022-03-01T08:22:25.3488053Z   case NL80211_IFTYPE_STATION:
2022-03-01T08:22:25.3488247Z   ^~~~
2022-03-01T08:22:25.3488923Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.c:2239:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-03-01T08:22:25.3489437Z    wlvif->p2p = 1;
2022-03-01T08:22:25.3489624Z    ~~~~~~~~~~~^~~
2022-03-01T08:22:25.3490186Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.c:2241:2: note: here
2022-03-01T08:22:25.3490571Z   case NL80211_IFTYPE_AP:
2022-03-01T08:22:25.3490778Z   ^~~~
2022-03-01T08:22:25.3639194Z make[10]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.o] Error 1
2022-03-01T08:22:25.3639998Z make[9]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore] Error 2
2022-03-01T08:22:25.3640822Z scripts/Makefile.build:277: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore/main.o' failed
2022-03-01T08:22:25.3644851Z make[8]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti] Error 2
2022-03-01T08:22:25.3646131Z make[7]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless] Error 2
2022-03-01T08:22:25.3646788Z make[6]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1] Error 2
2022-03-01T08:22:25.3647541Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti/wlcore' failed
2022-03-01T08:22:25.3648344Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless/ti' failed
2022-03-01T08:22:25.3649353Z scripts/Makefile.build:540: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/drivers/net/wireless' failed
2022-03-01T08:22:25.3650077Z Makefile:1868: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1' failed
2022-03-01T08:22:25.3651016Z make[5]: *** [modules] Error 2
2022-03-01T08:22:25.3651227Z make[4]: *** [modules] Error 2
2022-03-01T08:22:25.3651446Z make[3]: *** [modules] Error 2
2022-03-01T08:22:25.3651963Z make[2]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built] Error 2
2022-03-01T08:22:25.3652419Z Makefile.build:13: recipe for target 'modules' failed
2022-03-01T08:22:25.3652791Z Makefile.real:93: recipe for target 'modules' failed
2022-03-01T08:22:25.3653154Z Makefile:120: recipe for target 'modules' failed
2022-03-01T08:22:25.3653786Z make[3]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1'
2022-03-01T08:22:25.3654490Z Makefile:578: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-x86_64_musl/linux-x86_64/backports-5.10.42-1/.built' failed
2022-03-01T08:22:25.3655098Z make[2]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/package/kernel/mac80211'
2022-03-01T08:22:25.3658030Z time: package/kernel/mac80211/regular/compile#1.41#0.40#2.15
2022-03-01T08:22:25.3663801Z     ERROR: package/kernel/mac80211 failed to build (build variant: regular).
2022-03-01T08:22:25.3666471Z make[1]: *** [package/kernel/mac80211/compile] Error 1
2022-03-01T08:22:25.3669324Z package/Makefile:114: recipe for target 'package/kernel/mac80211/compile' failed
2022-03-01T08:22:25.3697253Z make[1]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt'
2022-03-01T08:22:25.3710729Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/include/toplevel.mk:228: recipe for target 'package/compile' failed
2022-03-01T08:22:25.3714737Z make: *** [package/compile] Error 2
2022-03-01T08:22:25.3793124Z ##[error]Process completed with exit code 2.
WYC-2020 commented 2 years ago

Well, you should send the config directly.

WYC-2020 commented 2 years ago

https://github.com/WYC-2020/lede/commit/01358c12ec1bfa6d5237eadecbd5ac404705cab3 You'd better send me your config and I'll compile it @helmiau

helmiau commented 2 years ago

here's my .config file contents bro @WYC-2020

# Target
CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_generic=y
CONFIG_TARGET_x86_generic_DEVICE_generic=y

# Output Images
CONFIG_TARGET_IMAGES_GZIP=y
CONFIG_TARGET_ROOTFS_EXT4FS=n
CONFIG_TARGET_ROOTFS_SQUASHFS=y

# Output x86 Images
CONFIG_GRUB_TITLE="HelmiWrt eXtendZed by helmiau"
CONFIG_GRUB_IMAGES=y
CONFIG_GRUB_EFI_IMAGES=y
CONFIG_VDI_IMAGES=n
CONFIG_VMDK_IMAGES=n

# Extra Packages
CONFIG_PACKAGE_autocore-x86=y

# Network Devices
CONFIG_PACKAGE_kmod-3c59x=y
CONFIG_PACKAGE_kmod-8139cp=y
CONFIG_PACKAGE_kmod-8139too=y
CONFIG_PACKAGE_kmod-alx=y
CONFIG_PACKAGE_kmod-atl1=y
CONFIG_PACKAGE_kmod-atl1c=y
CONFIG_PACKAGE_kmod-atl1e=y
CONFIG_PACKAGE_kmod-atl2=y
CONFIG_PACKAGE_kmod-b44=y
CONFIG_PACKAGE_kmod-be2net=y
CONFIG_PACKAGE_kmod-bnx2=y
CONFIG_PACKAGE_kmod-bnx2x=y
CONFIG_PACKAGE_kmod-dm9000=y
CONFIG_PACKAGE_kmod-dummy=y
CONFIG_PACKAGE_kmod-e100=y
CONFIG_PACKAGE_kmod-e1000=y
CONFIG_PACKAGE_kmod-et131x=y
CONFIG_PACKAGE_kmod-ethoc=y
CONFIG_PACKAGE_kmod-forcedeth=y
CONFIG_PACKAGE_kmod-gigaset=y
CONFIG_PACKAGE_kmod-hfcmulti=y
CONFIG_PACKAGE_kmod-hfcpci=y
CONFIG_PACKAGE_kmod-i40e=y
CONFIG_PACKAGE_kmod-i40evf=y
CONFIG_PACKAGE_kmod-ifb=y
CONFIG_PACKAGE_kmod-igb=y
CONFIG_PACKAGE_kmod-igbvf=y
CONFIG_PACKAGE_kmod-ixgbe=y
CONFIG_PACKAGE_kmod-ixgbevf=y
CONFIG_PACKAGE_kmod-libphy=y
CONFIG_PACKAGE_kmod-macvlan=y
CONFIG_PACKAGE_kmod-mii=y
CONFIG_PACKAGE_kmod-natsemi=y
CONFIG_PACKAGE_kmod-ne2k-pci=y
CONFIG_PACKAGE_kmod-niu=y
CONFIG_PACKAGE_kmod-of-mdio=y
CONFIG_PACKAGE_kmod-pcnet32=y
CONFIG_PACKAGE_kmod-phy-broadcom=y
CONFIG_PACKAGE_kmod-phy-realtek=y
CONFIG_PACKAGE_kmod-phylib-broadcom=y
CONFIG_PACKAGE_kmod-r6040=y
CONFIG_PACKAGE_kmod-r8125=y
CONFIG_PACKAGE_kmod-r8169=y
CONFIG_PACKAGE_kmod-siit=y
CONFIG_PACKAGE_kmod-sis190=y
CONFIG_PACKAGE_kmod-sis900=y
CONFIG_PACKAGE_kmod-skge=y
CONFIG_PACKAGE_kmod-sky2=y
CONFIG_PACKAGE_kmod-solos-pci=y
CONFIG_PACKAGE_kmod-spi-ks8995=y
CONFIG_PACKAGE_kmod-swconfig=y
CONFIG_PACKAGE_kmod-switch-ip17xx=y
CONFIG_PACKAGE_kmod-switch-mvsw61xx=y
CONFIG_PACKAGE_kmod-switch-rtl8306=y
CONFIG_PACKAGE_kmod-tg3=y
CONFIG_PACKAGE_kmod-tulip=y
CONFIG_PACKAGE_kmod-via-rhine=y
CONFIG_PACKAGE_kmod-via-velocity=y
CONFIG_PACKAGE_kmod-vmxnet3=y

# Video/Camera Support
CONFIG_PACKAGE_kmod-backlight=y
CONFIG_PACKAGE_kmod-backlight-pwm=y
CONFIG_PACKAGE_kmod-drm=y
CONFIG_PACKAGE_kmod-drm-amdgpu=y
CONFIG_PACKAGE_kmod-drm-kms-helper=y
CONFIG_PACKAGE_kmod-drm-radeon=y
CONFIG_PACKAGE_kmod-drm-ttm=y
CONFIG_PACKAGE_kmod-fb=y
CONFIG_PACKAGE_kmod-fb-cfb-copyarea=y
CONFIG_PACKAGE_kmod-fb-cfb-fillrect=y
CONFIG_PACKAGE_kmod-fb-cfb-imgblt=y
CONFIG_PACKAGE_kmod-fb-sys-fops=y
CONFIG_PACKAGE_kmod-fb-sys-ram=y
CONFIG_PACKAGE_kmod-video-cpia2=y
CONFIG_PACKAGE_kmod-video-gspca-core=y
CONFIG_PACKAGE_kmod-video-gspca-conex=y
CONFIG_PACKAGE_kmod-video-gspca-etoms=y
CONFIG_PACKAGE_kmod-video-gspca-finepix=y
CONFIG_PACKAGE_kmod-video-gspca-gl860=y
CONFIG_PACKAGE_kmod-video-gspca-jeilinj=y
CONFIG_PACKAGE_kmod-video-gspca-konica=y
CONFIG_PACKAGE_kmod-video-gspca-m5602=y
CONFIG_PACKAGE_kmod-video-gspca-mars=y
CONFIG_PACKAGE_kmod-video-gspca-mr97310a=y
CONFIG_PACKAGE_kmod-video-gspca-ov519=y
CONFIG_PACKAGE_kmod-video-gspca-ov534=y
CONFIG_PACKAGE_kmod-video-gspca-ov534-9=y
CONFIG_PACKAGE_kmod-video-gspca-pac207=y
CONFIG_PACKAGE_kmod-video-gspca-pac7311=y
CONFIG_PACKAGE_kmod-video-gspca-se401=y
CONFIG_PACKAGE_kmod-video-gspca-sn9c20x=y
CONFIG_PACKAGE_kmod-video-gspca-sonixb=y
CONFIG_PACKAGE_kmod-video-gspca-sonixj=y
CONFIG_PACKAGE_kmod-video-gspca-spca500=y
CONFIG_PACKAGE_kmod-video-gspca-spca501=y
CONFIG_PACKAGE_kmod-video-gspca-spca505=y
CONFIG_PACKAGE_kmod-video-gspca-spca506=y
CONFIG_PACKAGE_kmod-video-gspca-spca508=y
CONFIG_PACKAGE_kmod-video-gspca-spca561=y
CONFIG_PACKAGE_kmod-video-gspca-sq905=y
CONFIG_PACKAGE_kmod-video-gspca-sq905c=y
CONFIG_PACKAGE_kmod-video-gspca-stk014=y
CONFIG_PACKAGE_kmod-video-gspca-stv06xx=y
CONFIG_PACKAGE_kmod-video-gspca-sunplus=y
CONFIG_PACKAGE_kmod-video-gspca-t613=y
CONFIG_PACKAGE_kmod-video-gspca-tv8532=y
CONFIG_PACKAGE_kmod-video-gspca-vc032x=y
CONFIG_PACKAGE_kmod-video-gspca-zc3xx=y
CONFIG_PACKAGE_kmod-video-pwc=y
CONFIG_PACKAGE_kmod-video-uvc=y
CONFIG_PACKAGE_kmod-video-videobuf2=y

# USB Suppport
CONFIG_PACKAGE_kmod-usb-acm=y
CONFIG_PACKAGE_kmod-usb-ehci=y

# SDCard Support
CONFIG_PACKAGE_kmod-sdhci=y

# Virtualization
CONFIG_PACKAGE_kmod-irqbypass=y
CONFIG_PACKAGE_kmod-kvm-amd=y
CONFIG_PACKAGE_kmod-kvm-intel=y
CONFIG_PACKAGE_kmod-kvm-x86=y

# USB Serial
CONFIG_PACKAGE_kmod-usb-serial-ch341=y
CONFIG_PACKAGE_kmod-usb-serial-cp210x=y
CONFIG_PACKAGE_kmod-usb-serial-dmx_usb_module=y
CONFIG_PACKAGE_kmod-usb-serial-qualcomm=y
CONFIG_PACKAGE_kmod-usb-serial-ti-usb=y
CONFIG_PACKAGE_kmod-usb-serial-xr_usb_serial_common=n

# Wireless Drivers
CONFIG_B43LEGACY_FW_SQUASH=y
CONFIG_B43LEGACY_FW_SQUASH_COREREVS="1,2,3,4"
CONFIG_B43_FW_5_100_138=y
CONFIG_B43_FW_SQUASH=y
CONFIG_B43_FW_SQUASH_COREREVS="5,6,7,8,9,10,11,13,15,16,28,29,30"
CONFIG_B43_FW_SQUASH_PHYTYPES="G,N,LP,HT"
CONFIG_BRCMFMAC_PCIE=y
CONFIG_BRCMFMAC_USB=y
CONFIG_BRCMSMAC_USE_FW_FROM_WL=y
CONFIG_DRIVER_11AX_SUPPORT=y
CONFIG_DRIVER_WEXT_SUPPORT=y
CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB=y
CONFIG_PACKAGE_B43_PHY_G=y
CONFIG_PACKAGE_B43_PHY_HT=y
CONFIG_PACKAGE_B43_PHY_LP=y
CONFIG_PACKAGE_B43_PHY_N=y
CONFIG_PACKAGE_B43_USE_BCMA=y
CONFIG_PACKAGE_B43_USE_SSB=y
CONFIG_PACKAGE_b43legacy-firmware=y
CONFIG_PACKAGE_brcmfmac-firmware-4366b1-pcie=y
CONFIG_PACKAGE_brcmfmac-firmware-4366c0-pcie=y
CONFIG_PACKAGE_brcmfmac-firmware-usb=y
CONFIG_PACKAGE_carl9170-firmware=y
CONFIG_PACKAGE_cypress-firmware-4356-pcie=y
CONFIG_PACKAGE_cypress-firmware-43570-pcie=y
CONFIG_PACKAGE_cypress-firmware-4373-usb=y
CONFIG_PACKAGE_cypress-firmware-54591-pcie=y
CONFIG_PACKAGE_iwl3945-firmware=y
CONFIG_PACKAGE_iwl4965-firmware=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl100=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl1000=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl105=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl135=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl2000=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl2030=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl3160=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl3168=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl5000=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl5150=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl6000g2=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl6000g2a=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl6000g2b=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl6050=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl7260=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl7265=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl7265d=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl8260c=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl8265=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl9000=y
CONFIG_PACKAGE_iwlwifi-firmware-iwl9260=y
CONFIG_PACKAGE_kmod-adm8211=y
CONFIG_PACKAGE_kmod-b43=y
CONFIG_PACKAGE_kmod-b43legacy=y
CONFIG_PACKAGE_kmod-bcma=y
CONFIG_PACKAGE_kmod-brcmfmac=y
CONFIG_PACKAGE_kmod-brcmsmac=y
CONFIG_PACKAGE_kmod-brcmutil=y
CONFIG_PACKAGE_kmod-hermes=y
CONFIG_PACKAGE_kmod-hermes-pci=y
CONFIG_PACKAGE_kmod-ipw2100=y
CONFIG_PACKAGE_kmod-ipw2200=y
CONFIG_PACKAGE_kmod-iwl-legacy=y
CONFIG_PACKAGE_kmod-iwl3945=y
CONFIG_PACKAGE_kmod-iwl4965=y
CONFIG_PACKAGE_kmod-iwlwifi=y
CONFIG_PACKAGE_kmod-lib-cordic=y
CONFIG_PACKAGE_kmod-lib-crc8=y
CONFIG_PACKAGE_kmod-libipw=y
CONFIG_PACKAGE_kmod-mt76=y
CONFIG_PACKAGE_kmod-mt76-core=y
CONFIG_PACKAGE_kmod-mt76-usb=y
CONFIG_PACKAGE_kmod-mt7615-common=y
CONFIG_PACKAGE_kmod-mt7615-firmware=y
CONFIG_PACKAGE_kmod-mt7615e=y
CONFIG_PACKAGE_kmod-mt7663-firmware-ap=y
CONFIG_PACKAGE_kmod-mt7663-usb-sdio=y
CONFIG_PACKAGE_kmod-mt76x0-common=y
CONFIG_PACKAGE_kmod-mt76x02-common=y
CONFIG_PACKAGE_kmod-mt76x02-usb=y
CONFIG_PACKAGE_kmod-mt76x0e=y
CONFIG_PACKAGE_kmod-mt76x2=y
CONFIG_PACKAGE_kmod-mt76x2-common=y
CONFIG_PACKAGE_kmod-mt7915e=y
CONFIG_PACKAGE_kmod-mwifiex-pcie=y
CONFIG_PACKAGE_kmod-mwl8k=y
CONFIG_PACKAGE_kmod-owl-loader=y
CONFIG_PACKAGE_kmod-p54-pci=y
CONFIG_PACKAGE_kmod-rt2400-pci=y
CONFIG_PACKAGE_kmod-rt2500-pci=y
CONFIG_PACKAGE_kmod-rt2800-mmio=y
CONFIG_PACKAGE_kmod-rt2800-pci=y
CONFIG_PACKAGE_kmod-rt2x00-mmio=y
CONFIG_PACKAGE_kmod-rt2x00-pci=y
CONFIG_PACKAGE_kmod-rt61-pci=y
CONFIG_PACKAGE_kmod-rtl8180=y
CONFIG_PACKAGE_kmod-rtl8192ce=y
CONFIG_PACKAGE_kmod-rtl8192de=y
CONFIG_PACKAGE_kmod-rtl8192se=y
CONFIG_PACKAGE_kmod-rtl8821ae=y
CONFIG_PACKAGE_kmod-rtl8723bu=y
CONFIG_PACKAGE_kmod-rtlwifi-btcoexist=y
CONFIG_PACKAGE_kmod-rtlwifi-pci=y
CONFIG_PACKAGE_kmod-rtw88=y
CONFIG_PACKAGE_kmod-ssb=y
CONFIG_PACKAGE_kmod-wl12xx=y
CONFIG_PACKAGE_kmod-wl18xx=y
CONFIG_PACKAGE_kmod-wlcore=y
CONFIG_PACKAGE_mwifiex-pcie-firmware=y
CONFIG_PACKAGE_mwl8k-firmware=y
CONFIG_PACKAGE_p54-pci-firmware=y
CONFIG_PACKAGE_rt2800-pci-firmware=y
CONFIG_PACKAGE_rt61-pci-firmware=y
CONFIG_PACKAGE_rtl8192ce-firmware=y
CONFIG_PACKAGE_rtl8192de-firmware=y
CONFIG_PACKAGE_rtl8192se-firmware=y
CONFIG_PACKAGE_rtl8821ae-firmware=y
CONFIG_PACKAGE_rtl8822be-firmware=y
CONFIG_PACKAGE_rtl8822ce-firmware=y
CONFIG_PACKAGE_wl12xx-firmware=y
CONFIG_PACKAGE_wl18xx-firmware=y

# Network
CONFIG_PACKAGE_bind-client=y

# Utils
CONFIG_PACKAGE_unrar=y
CONFIG_PACKAGE_acl=y
CONFIG_PACKAGE_shadow-chsh=y
CONFIG_PACKAGE_btrfs-progs=y
CONFIG_PACKAGE_mkf2fs=y
CONFIG_PACKAGE_nfs-utils-libs=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_NTFS-3G_HAS_PROBE=y
CONFIG_PACKAGE_squashfs-tools-mksquashfs=y
CONFIG_PACKAGE_squashfs-tools-unsquashfs=y
CONFIG_SQUASHFS_TOOLS_LZO_SUPPORT=y
CONFIG_SQUASHFS_TOOLS_LZ4_SUPPORT=y
CONFIG_SQUASHFS_TOOLS_XZ_SUPPORT=y
CONFIG_PACKAGE_swap-utils=y
CONFIG_PACKAGE_sysfsutils=y
CONFIG_PACKAGE_pciutils=y

# QEMU
CONFIG_PACKAGE_qemu-arm-softmmu=y
CONFIG_PACKAGE_qemu-bridge-helper=y
CONFIG_PACKAGE_qemu-firmware-efi=y
CONFIG_PACKAGE_qemu-firmware-pxe=y
CONFIG_PACKAGE_qemu-firmware-seabios=y
CONFIG_PACKAGE_qemu-firmware-seavgabios=y
CONFIG_PACKAGE_qemu-ga=y
CONFIG_PACKAGE_qemu-img=y
CONFIG_PACKAGE_qemu-keymaps=y
CONFIG_PACKAGE_qemu-nbd=y
CONFIG_PACKAGE_qemu-x86_64-softmmu=y
CONFIG_QEMU_UI_SPICE=y
CONFIG_QEMU_UI_VNC=y
CONFIG_QEMU_UI_VNC_JPEG=y
CONFIG_QEMU_UI_VNC_PNG=y
CONFIG_QEMU_UI_VNC_SASL=y

# I2C LED LCD
CONFIG_PACKAGE_i2c-tools=y
CONFIG_PACKAGE_kmod-i2c-algo-bit=y
CONFIG_PACKAGE_kmod-i2c-core=y
CONFIG_PACKAGE_kmod-i2c-designware-core=y
CONFIG_PACKAGE_kmod-i2c-designware-pci=y
CONFIG_PACKAGE_kmod-i2c-gpio=y
CONFIG_PACKAGE_kmod-i2c-mux=y
CONFIG_PACKAGE_kmod-i2c-mux-gpio=y
CONFIG_PACKAGE_kmod-i2c-smbus=y
CONFIG_PACKAGE_kmod-i2c-tiny-usb=y

#Partition Size
CONFIG_TARGET_KERNEL_PARTSIZE=256
CONFIG_TARGET_ROOTFS_PARTSIZE=2048

# Output Images
CONFIG_TARGET_ROOTFS_TARGZ=y

# Build Options
CONFIG_ALL_NONSHARED=y
CONFIG_ALL_KMODS=y
CONFIG_IB=n
CONFIG_IB_STANDALONE=n
CONFIG_IMAGEOPT=y
CONFIG_MAKE_TOOLCHAIN=n
CONFIG_SDK=n

# Extra Packages
CONFIG_PACKAGE_automount=y
CONFIG_PACKAGE_dns2socks=y
CONFIG_PACKAGE_dnsmasq-full=y
CONFIG_PACKAGE_dnsmasq_full_auth=y
CONFIG_PACKAGE_dnsmasq_full_conntrack=y
CONFIG_PACKAGE_dnsmasq_full_dhcp=y
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
CONFIG_PACKAGE_dnsmasq_full_dnssec=y
CONFIG_PACKAGE_dnsmasq_full_ipset=y
CONFIG_PACKAGE_dnsmasq_full_noid=y
CONFIG_PACKAGE_dnsmasq_full_tftp=y
CONFIG_PACKAGE_ipv6helper=m

# File System
CONFIG_PACKAGE_kmod-fs-f2fs=y
CONFIG_PACKAGE_kmod-fs-nfs=y
CONFIG_PACKAGE_kmod-fs-nfs-common=y
CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y
CONFIG_PACKAGE_kmod-fs-nfs-v3=y
CONFIG_PACKAGE_kmod-fs-nfs-v4=y
CONFIG_PACKAGE_kmod-fs-nfsd=y
CONFIG_PACKAGE_kmod-fs-squashfs=y

# Kernel
CONFIG_KERNEL_BUILD_USER="helmiau"
CONFIG_KERNEL_BUILD_DOMAIN="helmiau.com"

# Video/Camera Support
CONFIG_PACKAGE_kmod-i2c-core=y
CONFIG_PACKAGE_kmod-video-core=y

# USB Suppport
CONFIG_PACKAGE_kmod-usb-audio=y
CONFIG_PACKAGE_kmod-usb-net-asix=y
CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y
CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y
CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y
CONFIG_PACKAGE_kmod-usb-net-hso=y
CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y
CONFIG_PACKAGE_kmod-usb-net-ipheth=y
CONFIG_PACKAGE_kmod-usb-net-kalmia=y
CONFIG_PACKAGE_kmod-usb-net-kaweth=y
CONFIG_PACKAGE_kmod-usb-net-mcs7830=y
CONFIG_PACKAGE_kmod-usb-net-pegasus=y
CONFIG_PACKAGE_kmod-usb-net-pl=y
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
CONFIG_PACKAGE_kmod-usb-net-rndis=y
CONFIG_PACKAGE_kmod-usb-net-rtl8150=y
CONFIG_PACKAGE_kmod-usb-net-rtl8152=y
CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y
CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y
CONFIG_PACKAGE_kmod-usb-net-sr9700=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-ohci-pci=y
CONFIG_PACKAGE_kmod-usb-printer=y
CONFIG_PACKAGE_kmod-usb-uhci=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb2-pci=y
CONFIG_PACKAGE_kmod-usb3=y

# Wireless Drivers
CONFIG_PACKAGE_kmod-ath=y
CONFIG_PACKAGE_kmod-ath6kl=y
CONFIG_PACKAGE_kmod-ath6kl-usb=y
CONFIG_PACKAGE_kmod-ath9k-common=y
CONFIG_PACKAGE_kmod-ath9k-htc=y
CONFIG_PACKAGE_kmod-ath11k=n
CONFIG_PACKAGE_kmod-carl9170=y
CONFIG_PACKAGE_kmod-lib80211=y
CONFIG_PACKAGE_kmod-libertas-usb=y
CONFIG_PACKAGE_kmod-mac80211=y
CONFIG_PACKAGE_kmod-mt7601u=y
CONFIG_PACKAGE_kmod-mt7603=y
CONFIG_PACKAGE_kmod-mt7663u=y
CONFIG_PACKAGE_kmod-mt76x0u=y
CONFIG_PACKAGE_kmod-mt76x2u=y
CONFIG_PACKAGE_kmod-net-prism54=y
CONFIG_PACKAGE_kmod-net-rtl8192su=y
CONFIG_PACKAGE_kmod-p54-common=y
CONFIG_PACKAGE_kmod-p54-usb=y
CONFIG_PACKAGE_kmod-rsi91x=y
CONFIG_PACKAGE_kmod-rsi91x-usb=y
CONFIG_PACKAGE_kmod-rt2500-usb=y
CONFIG_PACKAGE_kmod-rt73-usb=y
CONFIG_PACKAGE_kmod-rtl8187=y
CONFIG_PACKAGE_kmod-rtl8188eu=y
CONFIG_PACKAGE_kmod-rtl8192c-common=y
CONFIG_PACKAGE_kmod-rtl8192cu=y
CONFIG_PACKAGE_kmod-rtl8192du=y
CONFIG_PACKAGE_kmod-rtl8812au-ac=y
CONFIG_PACKAGE_kmod-rtl8821cu=y
CONFIG_PACKAGE_kmod-rtl88x2bu=y
CONFIG_PACKAGE_kmod-rtlwifi=y
CONFIG_PACKAGE_kmod-rtlwifi-usb=y
CONFIG_PACKAGE_kmod-zd1211rw=y
CONFIG_PACKAGE_libertas-usb-firmware=y
CONFIG_PACKAGE_mt7601u-firmware=y
CONFIG_PACKAGE_p54-usb-firmware=y
CONFIG_PACKAGE_prism54-firmware=y
CONFIG_PACKAGE_rs9113-firmware=y
CONFIG_PACKAGE_rt73-usb-firmware=y
CONFIG_PACKAGE_rtl8188eu-firmware=y
CONFIG_PACKAGE_rtl8192cu-firmware=y
CONFIG_PACKAGE_rtl8192eu-firmware=y
CONFIG_PACKAGE_rtl8192su-firmware=y
CONFIG_PACKAGE_rtl8723au-firmware=y
CONFIG_PACKAGE_rtl8723bu-firmware=y

# Tunnel Support
CONFIG_PACKAGE_kmod-iptunnel4=y
CONFIG_PACKAGE_kmod-ipt-tproxy=y

# LuCI App
CONFIG_PACKAGE_luci-app-accesscontrol=n
CONFIG_PACKAGE_luci-app-adbyby-plus=y
CONFIG_PACKAGE_luci-app-adguardhome=y
CONFIG_PACKAGE_luci-app-adguardhome_INCLUDE_binary=y
CONFIG_PACKAGE_luci-app-aria2=y
CONFIG_PACKAGE_luci-app-commands=y
CONFIG_PACKAGE_luci-app-diskman=y
CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y
CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y
CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y
CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y
CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y
CONFIG_PACKAGE_luci-app-dockerman=y
CONFIG_PACKAGE_luci-app-fileassistant=n
CONFIG_PACKAGE_luci-app-filebrowser=n
CONFIG_PACKAGE_luci-app-filetransfer=n
CONFIG_PACKAGE_luci-app-hd-idle=y
CONFIG_PACKAGE_luci-app-mwan3=y
CONFIG_PACKAGE_luci-app-nft-qos=y
CONFIG_PACKAGE_luci-app-nlbwmon=y
CONFIG_PACKAGE_luci-app-openclash=y
CONFIG_PACKAGE_luci-app-openvpn=y
CONFIG_PACKAGE_luci-app-ramfree=y
CONFIG_PACKAGE_luci-app-pptp-server=y
CONFIG_PACKAGE_luci-app-samba=y
CONFIG_PACKAGE_luci-app-softethervpn=y

#LuCI App Passwall
CONFIG_PACKAGE_luci-app-passwall=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ChinaDNS_NG=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Haproxy=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Hysteria=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Kcptun=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_NaiveProxy=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_PDNSD=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Libev_Client=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Libev_Server=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Rust_Client=n
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Rust_Server=n
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_Libev_Client=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_Libev_Server=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Simple_Obfs=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan_GO=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan_Plus=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_V2ray=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_V2ray_Plugin=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Xray=y
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Xray_Plugin=y

#LuCI App ShadowSocksR+ Plus
CONFIG_PACKAGE_luci-app-ssr-plus=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_NaiveProxy=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Libev_Client=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Libev_Server=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Rust_Client=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Rust_Server=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Server=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_Obfs=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_Plugin=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray=y

CONFIG_PACKAGE_luci-app-telegrambot=y
CONFIG_PACKAGE_luci-app-turboacc=n
CONFIG_PACKAGE_luci-app-ttyd=y
CONFIG_PACKAGE_luci-app-udpxy=y
CONFIG_PACKAGE_luci-app-uhttpd=y
CONFIG_PACKAGE_luci-app-unblockneteasemusic=n
CONFIG_PACKAGE_luci-app-unblockmusic=n
CONFIG_PACKAGE_luci-app-upnp=n
CONFIG_PACKAGE_luci-app-usb-printer=y
CONFIG_PACKAGE_luci-app-uugamebooster=n
CONFIG_PACKAGE_luci-app-watchcat=y
CONFIG_PACKAGE_luci-app-webadmin=n
CONFIG_PACKAGE_luci-app-wifischedule=n
CONFIG_PACKAGE_luci-app-wireguard=y
CONFIG_PACKAGE_luci-app-wrtbwmon=n
CONFIG_PACKAGE_luci-app-xlnetacc=n
CONFIG_PACKAGE_luci-app-zerotier=y

# LuCI Themes
CONFIG_PACKAGE_luci-theme-argon=y
CONFIG_PACKAGE_luci-theme-argon-18.06=y
CONFIG_PACKAGE_luci-app-argon-config=y
CONFIG_PACKAGE_luci-theme-material=y
CONFIG_PACKAGE_luci-theme-netgear=y
CONFIG_PACKAGE_luci-theme-darkmatter=y
CONFIG_PACKAGE_luci-theme-atmaterial_new=y
CONFIG_PACKAGE_luci-theme-edge=y
CONFIG_PACKAGE_luci-theme-ifit=y
CONFIG_PACKAGE_luci-theme-tomato=y
CONFIG_PACKAGE_luci-theme-mcat=y
CONFIG_PACKAGE_luci-theme-tano=y
CONFIG_PACKAGE_luci-theme-neobird=y
CONFIG_PACKAGE_luci-theme-rosy=y

# LuCI Languages
CONFIG_LUCI_LANG_en=y
CONFIG_PACKAGE_luci-i18n-base-en=y
CONFIG_PACKAGE_luci-i18n-ssr-plus-en=y
CONFIG_PACKAGE_luci-i18n-ttyd-en=y
CONFIG_PACKAGE_luci-i18n-zerotier-en=y
# CONFIG_LUCI_LANG_ca is not set
# CONFIG_LUCI_LANG_cs is not set
# CONFIG_LUCI_LANG_de is not set
# CONFIG_LUCI_LANG_el is not set
# CONFIG_LUCI_LANG_es is not set
# CONFIG_LUCI_LANG_fr is not set
# CONFIG_LUCI_LANG_he is not set
# CONFIG_LUCI_LANG_hu is not set
# CONFIG_LUCI_LANG_it is not set
# CONFIG_LUCI_LANG_ja is not set
# CONFIG_LUCI_LANG_ko is not set
# CONFIG_LUCI_LANG_ms is not set
# CONFIG_LUCI_LANG_no is not set
# CONFIG_LUCI_LANG_pl is not set
# CONFIG_LUCI_LANG_pt is not set
# CONFIG_LUCI_LANG_pt-br is not set
# CONFIG_LUCI_LANG_ro is not set
# CONFIG_LUCI_LANG_ru is not set
# CONFIG_LUCI_LANG_sk is not set
# CONFIG_LUCI_LANG_sv is not set
# CONFIG_LUCI_LANG_tr is not set
# CONFIG_LUCI_LANG_uk is not set
# CONFIG_LUCI_LANG_vi is not set
# CONFIG_LUCI_LANG_zh-tw is not set

# Network
CONFIG_PACKAGE_ariang=y
CONFIG_PACKAGE_webui-aria2=y
CONFIG_PACKAGE_coremark=y
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
CONFIG_PACKAGE_ddns-scripts_freedns_42_pl=y
CONFIG_PACKAGE_ddns-scripts_godaddy.com-v1=y
CONFIG_PACKAGE_ddns-scripts_no-ip_com=y
CONFIG_PACKAGE_ddns-scripts_nsupdate=y
CONFIG_PACKAGE_ddns-scripts_route53-v1=y
CONFIG_PACKAGE_hostapd=y
CONFIG_PACKAGE_hostapd-common=y
CONFIG_PACKAGE_hostapd-utils=y
CONFIG_PACKAGE_iperf3=y
CONFIG_PACKAGE_minieap=y
CONFIG_PACKAGE_bind-dig=y
CONFIG_PACKAGE_bind-host=y
CONFIG_PACKAGE_openssh-sftp-client=y
CONFIG_PACKAGE_openssh-sftp-server=y
CONFIG_PACKAGE_xl2tpd=y
CONFIG_PACKAGE_strongswan-default=y
CONFIG_PACKAGE_sstp-client=y
CONFIG_PACKAGE_wireless-tools=y
CONFIG_PACKAGE_wpa-cli=y
CONFIG_PACKAGE_wpa-supplicant=y
CONFIG_PACKAGE_ppp-mod-pptp=y
CONFIG_PACKAGE_openvpn-openssl=y
CONFIG_PACKAGE_openvpn-easy-rsa=y
CONFIG_V2RAY_COMPRESS_UPX=n

#mwan3 iptables packages
CONFIG_PACKAGE_ebtables-utils=y
CONFIG_PACKAGE_ebtables=y
CONFIG_PACKAGE_ip6tables-extra=y
CONFIG_PACKAGE_ip6tables-mod-nat=y
CONFIG_PACKAGE_ip6tables=y
CONFIG_PACKAGE_ip=y
CONFIG_PACKAGE_ipset=y
CONFIG_PACKAGE_ipset-dns=y
CONFIG_PACKAGE_ipset-lists=y
CONFIG_PACKAGE_iptables=y
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
CONFIG_PACKAGE_iptables-mod-extra=y
CONFIG_PACKAGE_iptables-mod-filter=y
CONFIG_PACKAGE_iptables-mod-ipopt=y
CONFIG_PACKAGE_iptables-mod-ipsec=y
CONFIG_PACKAGE_iptables-mod-nat-extra=y
CONFIG_PACKAGE_iptables-mod-tproxy=y
CONFIG_PACKAGE_jshn=y

# Utils
CONFIG_PACKAGE_adb=y
CONFIG_PACKAGE_bsdtar=y
CONFIG_PACKAGE_bzip2=y
CONFIG_PACKAGE_e2fsprogs=y
CONFIG_PACKAGE_gzip=y
CONFIG_PACKAGE_htop=y
CONFIG_PACKAGE_unzip=y
CONFIG_PACKAGE_zip=y
CONFIG_PACKAGE_p7zip=y
CONFIG_PACKAGE_fdisk=y
CONFIG_PACKAGE_fstrim=y
CONFIG_PACKAGE_libcap=y
CONFIG_PACKAGE_libcap-bin=y
CONFIG_PACKAGE_lsblk=y
CONFIG_PACKAGE_lscpu=y
CONFIG_PACKAGE_mc=y
CONFIG_PACKAGE_nano=y
CONFIG_PACKAGE_node-npm=y
CONFIG_PACKAGE_sfdisk=y
CONFIG_PACKAGE_vim-full=y
CONFIG_PACKAGE_f2fs-tools=y
CONFIG_PACKAGE_f2fsck=y
CONFIG_PACKAGE_perl=y
CONFIG_PACKAGE_resize2fs=y
CONFIG_PACKAGE_zsh=y
CONFIG_PACKAGE_screen=y
CONFIG_PACKAGE_snmpd=y
CONFIG_PACKAGE_tmux=y
CONFIG_PACKAGE_docker-ce=y
CONFIG_PACKAGE_docker-compose=y
CONFIG_DOCKER_KERNEL_OPTIONS=y
CONFIG_DOCKER_NET_ENCRYPT=y
CONFIG_DOCKER_NET_MACVLAN=y
CONFIG_DOCKER_NET_OVERLAY=y
CONFIG_DOCKER_NET_TFTP=y
CONFIG_DOCKER_RES_SHAPE=y
CONFIG_DOCKER_SECCOMP=y
CONFIG_DOCKER_STO_BTRFS=y
CONFIG_DOCKER_STO_EXT4=y
CONFIG_PACKAGE_tree=y
CONFIG_PACKAGE_usbutils=y
CONFIG_PACKAGE_tmate=y
CONFIG_PACKAGE_xray-core=y
CONFIG_PACKAGE_xray-plugin=y
CONFIG_PACKAGE_v2raya=y
CONFIG_PACKAGE_v2rayA=y

# USB Modems, Hilink, QMI, Android, iOS & USB Ethernet
CONFIG_PACKAGE_3ginfo=y
CONFIG_PACKAGE_atinout=y
CONFIG_PACKAGE_comgt-ncm=y
CONFIG_PACKAGE_comgt=y
CONFIG_PACKAGE_iconv=y
CONFIG_PACKAGE_kmod-mii=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-usb-acm=y
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-net=y
CONFIG_PACKAGE_kmod-usb-serial-option=y
CONFIG_PACKAGE_kmod-usb-serial-qualcomm=y
CONFIG_PACKAGE_kmod-usb-serial-wwan=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_libimobiledevice-utils=y
CONFIG_PACKAGE_libplist-utils=y
CONFIG_PACKAGE_libusbmuxd-utils=y
CONFIG_PACKAGE_luci-app-3ginfo=y
CONFIG_PACKAGE_luci-app-atinout-mod=y
CONFIG_PACKAGE_luci-app-mmconfig=y
CONFIG_PACKAGE_luci-app-modeminfo=y
CONFIG_PACKAGE_luci-app-sms-tool=y
CONFIG_PACKAGE_luci-app-smstools3=y
CONFIG_PACKAGE_luci-proto-3g=y
CONFIG_PACKAGE_luci-proto-bonding=y
CONFIG_PACKAGE_luci-proto-minieap=y
CONFIG_PACKAGE_luci-proto-modemmanager=y
CONFIG_PACKAGE_luci-proto-ncm=y
CONFIG_PACKAGE_luci-proto-openconnect=y
CONFIG_PACKAGE_luci-proto-qmi=y
CONFIG_PACKAGE_luci-proto-relay=y
CONFIG_PACKAGE_minicom=y
CONFIG_PACKAGE_modemmanager=y
CONFIG_PACKAGE_picocom=y
CONFIG_PACKAGE_qmi-utils=y
CONFIG_PACKAGE_sms-tool=y
CONFIG_PACKAGE_smstools3=y
CONFIG_PACKAGE_umbim=y
CONFIG_PACKAGE_uqmi=y
CONFIG_PACKAGE_usb-modeswitch=y
CONFIG_PACKAGE_usbmuxd=y

# Libernet requirements
CONFIG_PACKAGE_git=y
CONFIG_PACKAGE_coreutils=y
CONFIG_PACKAGE_coreutils-stdbuf=y
CONFIG_PACKAGE_jq=y
CONFIG_PACKAGE_ip-full=y
CONFIG_PACKAGE_kmod-tun=y
CONFIG_PACKAGE_openssh-client=y
CONFIG_PACKAGE_https-dns-proxy=y
CONFIG_PACKAGE_php7=y
CONFIG_PACKAGE_php7-cgi=y
CONFIG_PACKAGE_php7-mod-json=y
CONFIG_PACKAGE_php7-mod-session=y
CONFIG_PACKAGE_python3=y
CONFIG_PACKAGE_httping=y
CONFIG_PACKAGE_stunnel=y
CONFIG_PACKAGE_stubby=y
CONFIG_PACKAGE_getdns=y

# Xderm Mini GUI requirements
CONFIG_PACKAGE_badvpn=y
CONFIG_PACKAGE_corkscrew=y
CONFIG_PACKAGE_coreutils-timeout=y
CONFIG_PACKAGE_libudev-fbsd=y
CONFIG_PACKAGE_libudev-zero=y
CONFIG_PACKAGE_procps-ng=y
CONFIG_PACKAGE_procps-ng-ps=y
CONFIG_PACKAGE_python3-pip=y
CONFIG_PACKAGE_sshpass=y
CONFIG_PACKAGE_tc=y

# Mikhmon requirements
CONFIG_PACKAGE_php7-fpm=y
CONFIG_PACKAGE_php7-mod-curl=y
CONFIG_PACKAGE_php7-mod-ctype=y
CONFIG_PACKAGE_php7-mod-dom=y
CONFIG_PACKAGE_php7-mod-gettext=y
CONFIG_PACKAGE_php7-mod-gmp=y
CONFIG_PACKAGE_php7-mod-iconv=y
CONFIG_PACKAGE_php7-mod-mbstring=y
CONFIG_PACKAGE_php7-mod-opcache=y
CONFIG_PACKAGE_php7-mod-pcntl=y
CONFIG_PACKAGE_php7-mod-pdo=y
CONFIG_PACKAGE_php7-mod-zip=y
CONFIG_PACKAGE_zoneinfo-core=y
CONFIG_PACKAGE_zoneinfo-asia=y
CONFIG_PACKAGE_zoneinfo-simple=y

# Lean default-settings package
CONFIG_DEFAULT_default-settings=y
CONFIG_PACKAGE_default-settings=y

CONFIG_PACKAGE_vpnbypass=y
CONFIG_PACKAGE_luci-app-vpnbypass=y

#HelmiWrt Packages
CONFIG_PACKAGE_luci-app-libernet=n
CONFIG_PACKAGE_luci-app-libernet-bin=n
CONFIG_PACKAGE_luci-app-libernet-plus=y
CONFIG_PACKAGE_luci-app-mikhmon=y
CONFIG_PACKAGE_luci-app-netmon=y
CONFIG_PACKAGE_luci-app-openspeedtest=n
CONFIG_PACKAGE_luci-app-shutdown=y
CONFIG_PACKAGE_luci-app-tinyfm=y
CONFIG_PACKAGE_luci-app-v2raya=y
CONFIG_PACKAGE_luci-app-xderm-bin=y
CONFIG_PACKAGE_luci-app-xderm=n
CONFIG_PACKAGE_luci-app-xderm-limit=y
CONFIG_PACKAGE_luci-app-freevpnsite=y
CONFIG_PACKAGE_luci-app-wegare=y

# Fibocom L860-GL Support
CONFIG_PACKAGE_xmm-modem=y

# Wegare STL Tunnel Support
CONFIG_PACKAGE_lsof=y
CONFIG_PACKAGE_fping=y

and here's some config additions for another config file here lede/target/linux/x86/config-5.4


# USB 3.0 Additional Suppport
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_FHCI_HCD=y
CONFIG_USB_HWA_HCD=y
CONFIG_USB_ISP116X_HCD=y
CONFIG_USB_ISP1760_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_R8A66597_HCD=y
CONFIG_USB_SL811_HCD=y
CONFIG_USB_U132_HCD=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_XHCI_HCD=y

# I2C LED LCD
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y
CONFIG_I2C_ARB_GPIO_CHALLENGE=y
CONFIG_I2C_MUX_GPIO=y
CONFIG_I2C_MUX_GPMUX=y
CONFIG_I2C_MUX_LTC4306=m
CONFIG_I2C_MUX_PCA9541=m
CONFIG_I2C_MUX_PCA954x=m
CONFIG_I2C_MUX_PINCTRL=y
CONFIG_I2C_MUX_REG=y
CONFIG_I2C_DEMUX_PINCTRL=y
CONFIG_I2C_MUX_MLXCPLD=m
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_SLAVE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_I2C_DESIGNWARE_PCI=m
CONFIG_I2C_GPIO=y
CONFIG_I2C_GPIO_FAULT_INJECTOR=y
CONFIG_I2C_MESON=y
CONFIG_I2C_RK3X=y
CONFIG_I2C_SLAVE=y
CONFIG_I2C_SLAVE_EEPROM=m
CONFIG_I2C_SLAVE_TESTUNIT=m
CONFIG_SPI=y
CONFIG_SPI_MASTER=y
CONFIG_SPI_MEM=y
helmiau commented 2 years ago

i tried to rebuild again, then these errors shown @WYC-2020 :

2022-03-02T08:28:07.3204437Z make[3]: Entering directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/linux-5.15.25'
2022-03-02T08:28:07.9071901Z   CC [M]  /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/rtl8188eu-2021-02-06-1e7145f3/core/rtw_br_ext.o
2022-03-02T08:28:08.6266940Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/rtl8188eu-2021-02-06-1e7145f3/core/rtw_br_ext.c:20:11: fatal error: net/ipx.h: No such file or directory
2022-03-02T08:28:08.6269644Z   #include <net/ipx.h>
2022-03-02T08:28:08.6271687Z            ^~~~~~~~~~~
2022-03-02T08:28:08.6273739Z compilation terminated.
2022-03-02T08:28:08.6311376Z scripts/Makefile.build:277: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/rtl8188eu-2021-02-06-1e7145f3/core/rtw_br_ext.o' failed
2022-03-02T08:28:08.6314252Z make[4]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/rtl8188eu-2021-02-06-1e7145f3/core/rtw_br_ext.o] Error 1
2022-03-02T08:28:08.6316826Z make[3]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/rtl8188eu-2021-02-06-1e7145f3] Error 2
2022-03-02T08:28:08.6318691Z make[2]: *** [/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/rtl8188eu-2021-02-06-1e7145f3/.built] Error 2
2022-03-02T08:28:08.6321594Z Makefile:1868: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/rtl8188eu-2021-02-06-1e7145f3' failed
2022-03-02T08:28:08.6322548Z make[3]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/linux-5.15.25'
2022-03-02T08:28:08.6325506Z Makefile:74: recipe for target '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/build_dir/target-i386_pentium4_musl/linux-x86_generic/rtl8188eu-2021-02-06-1e7145f3/.built' failed
2022-03-02T08:28:08.6326297Z make[2]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/package/community/rtl8188eu'
2022-03-02T08:28:08.6326760Z time: package/community/rtl8188eu/compile#1.02#0.37#1.58
2022-03-02T08:28:08.6327188Z     ERROR: package/community/rtl8188eu failed to build.
2022-03-02T08:28:08.6332526Z package/Makefile:114: recipe for target 'package/community/rtl8188eu/compile' failed
2022-03-02T08:28:08.6363678Z make[1]: Leaving directory '/home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt'
2022-03-02T08:28:08.6370688Z make[1]: *** [package/community/rtl8188eu/compile] Error 1
2022-03-02T08:28:08.6379013Z /home/runner/work/HelmiWrt-OS/HelmiWrt-OS/openwrt/include/toplevel.mk:228: recipe for target 'package/compile' failed
2022-03-02T08:28:08.6383370Z make: *** [package/compile] Error 2
WYC-2020 commented 2 years ago

@helmiau I use the configuration file you gave to compile x86-64 here. I removed all luci apps to reduce the compilation time, and the compilation is no problem. I don’t have the rtl8188eu driver here.

helmiau commented 2 years ago

@WYC-2020 i forgot, i use this source https://github.com/immortalwrt/immortalwrt/tree/openwrt-18.06-k5.4/package/kernel/rtl8188eu as rtl8188eu driver

can you recompile it? thanks bro.

WYC-2020 commented 2 years ago

@helmiau Don't compile any drivers in the mac80211 folder that comes with lede, only compile your new ones, they conflict, because the version inside is 5.10, the kernel you added when detecting macros is 5.4, and the actual header files are used It is 5.10, you can modify the compiled linux version to 5.10 and it should be fine

WYC-2020 commented 2 years ago

@helmiau Your compilation option is to compile all packages, there may be many conflicts, it is recommended to compile according to your actual needs

helmiau commented 2 years ago

thanks bro @WYC-2020 , i will make some changes later

TakumiBC commented 2 years ago

@WYC-2020 I've just got a similar problem while compiling the firmware for NanoPi R2S. you can see the log below:

make[2]: Entering directory '/home/runner/work/R2S/R2S/openwrt/package/kernel/linux'
Package kmod-drm is missing dependencies for the following libraries:
fb.ko
make[2]: Leaving directory '/home/runner/work/R2S/R2S/openwrt/package/kernel/linux'
make[2]: *** [modules/video.mk:263: /home/runner/work/R2S/R2S/openwrt/bin/targets/rockchip/armv8/packages/kmod-drm_5.15.26-1_aarch64_generic.ipk] Error 1
time: package/kernel/linux/compile#3.80#0.46#4.24
    ERROR: package/kernel/linux failed to build.
make[1]: *** [package/Makefile:116: package/kernel/linux/compile] Error 1
make[1]: Leaving directory '/home/runner/work/R2S/R2S/openwrt'
make: *** [/home/runner/work/R2S/R2S/openwrt/include/toplevel.mk:230: package/compile] Error 2

Do you know what is the problem? Are you able to fix it? Thank you!