Makefile:152: recipe for target 'sub-make' failed
make[1]: Leaving directory '/home/test/OnePlus6/out' Makefile:152: recipe for target 'sub-make' failed make: *** [sub-make] Error 2
the errors I can find are: /home/test/OnePlus6/Makefile:1087: recipe for target 'net' failed make[1]: *** [net] Error 2
../scripts/Makefile.build:650: recipe for target 'net/mac80211' failed make[2]: *** [net/mac80211] Error 2 make[2]: *** Waiting for unfinished jobs....
In file included from ../include/linux/linkage.h:4:0,
from ../include/linux/kernel.h:6,
from ../net/mac80211/tx.c:16:
../net/mac80211/tx.c: In function 'ieee80211_tx_h_sequence':
../net/mac80211/tx.c:817:19: error: 'union
define unlikely(x) __builtin_expect(!!(x), 0)
^
../scripts/Makefile.build:336: recipe for target 'net/mac80211/tx.o' failed make[3]: *** [net/mac80211/tx.o] Error 1 make[3]: *** Waiting for unfinished jobs....
Error: unknown option scripts/Makefile.lib:319: recipe for target 'arch/arm64/boot/dts/qcom/sdm845-v2.1.dtb' failed make[3]: *** [arch/arm64/boot/dts/qcom/sdm845-v2.1.dtb] Error 1 ../scripts/Makefile.build:650: recipe for target 'arch/arm64/boot/dts/qcom' failed make[2]: *** [arch/arm64/boot/dts/qcom] Error 2 arch/arm64/Makefile:161: recipe for target 'dtbs' failed make[1]: *** [dtbs] Error 2 make[1]: *** Waiting for unfinished jobs....
./scripts/dtc/dtc: invalid option -- '@'
can you please compile the kernel for me using my defconfig? (i changed to .txt so I can upload to github) custom_defconfig.txt