I just created a new build VM with Ubuntu 20.04.3 LTS and got the following Make error for the latest repo. It was at the very start of the build, which is nice.
The issue was a large shell command embedded in the KernelConfig function, inside ~/asuswrt-merlin.ng/release/src-rt/Makefile. My fix was to split the shell command, somewhere in the middle around line 4800, as follows:
Alternatively, maybe there's a way to increase the MAX ARG size for shell commands, that the Make program uses?
Code:
execvp: /bin/sh: Argument list too long
The issue was a large shell command embedded in the KernelConfig function, inside ~/asuswrt-merlin.ng/release/src-rt/Makefile. My fix was to split the shell command, somewhere in the middle around line 4800, as follows:
Code:
)
@( \
Alternatively, maybe there's a way to increase the MAX ARG size for shell commands, that the Make program uses?