Commit graph

6 commits

Author SHA1 Message Date
Arkadiusz Hiler
46304cde3d make: Use GNU Make's job server when building via ninja.
`+` is necessary to mark it as recurisve[0] so that fds are passed as
expected.

Passing explicit `-j` is dropped because it takes precedence over
MAKEFLAGS and disables the job server integration.

[0]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html
2023-09-12 14:55:34 +03:00
Arkadiusz Hiler
692ef0aa1f build: Do as much as possible inside of the SDK container.
Parts of the rules, including the magical ones created via
make/rules-*.mk, are executed inside of the container via SHELL
override, and parts are executed on the host side.

This makes reasoning about and debugging the rules much harder than it
should be. It also requirs the users to have certain programs installed
on the host in addition to docker/podman.

With this change `make` will act as a simple pass through to inside of
the container for the most part.

One notable exception is installation which still happens the host side.
2023-02-14 16:07:44 +02:00
Rémi Bernon
587f86fb9d build: Better support meson cross compilation. 2022-01-19 11:26:04 +02:00
Rémi Bernon
bdb6a31e8c build: Make silent builds actually quiet. 2021-06-17 15:10:20 -05:00
Rémi Bernon
b84a7593b7
build: Pass -j flags to ninja build steps too. 2021-05-27 16:57:45 +02:00
Rémi Bernon
04631339f3 build: Introduce rules-meson macro. 2021-03-31 14:08:10 -05:00