commit | 9d83a72e856841871f459411959479824cdcf6ea | [log] [tgz] |
---|---|---|
author | Oliver Smith <osmith@sysmocom.de> | Wed Nov 22 11:25:04 2023 +0100 |
committer | Oliver Smith <osmith@sysmocom.de> | Wed Nov 22 11:43:11 2023 +0100 |
tree | 5ab68f21d0c1ce0c232ce01feb625f963ef19deb | |
parent | 8590b898e9788f76d05d6893d43c455d5125d821 [diff] |
gen_makefile: don't shell out to nproc Use python's multiprocessing.cpu_count() instead of "$(nproc)". The latter didn't work properly in Makefiles, the right syntax would have been "$(shell nproc)". Make didn't complain about it and assumed that we want to use all CPUs with an empty argument "-j ", but meson doesn't accept this syntax. Change-Id: I58ca082339f3aff813f587f4c2be9c0951b9b2dd