summaryrefslogtreecommitdiff
path: root/scripts/rt-tester/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-07-28 17:31:53 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-03-04 11:21:48 -0300
commitf079ff37324accb91c6247b59e249ebc22bf55f5 (patch)
tree71fe98279262182d04d7d561f53ff85cccd53c46 /scripts/rt-tester/git@git.tavy.me:linux.git
parentcfdf6456c0aca337ff05cb1eb6e6f453e1d9dea1 (diff)
tools build: Make in-target rule robust against too long argument error
The command length of in-target scales with the depth of the directory times the number of objects in the Makefile. When there are many objects, and O=[absolute_path] is set, and the absolute_path is relatively long. It is possible that this line "$(call if_changed,$(host)ld_multi)" will report error: "make[4]: /bin/sh: Argument list too long" For example, build perf tools with O=/long/output/path Like built-in.a and *.mod rules in scripts/Makefile.build, add $(objpredix)/ by the shell command instead of by Make's builtin function. Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Cc: Charlie Jenkins <charlie@rivosinc.com> Cc: James Clark <james.clark@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/rt-tester/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions