1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00

Makefile - remove -j0 (#13838)

Makefile - don't override user-supplied --jobs argument

Some targets will default to parallel build, but only when no
-j / --jobs argument is specified on make command line
This commit is contained in:
Petr Ledvina 2024-08-30 16:12:17 +02:00 committed by GitHub
parent dc741d4d83
commit 3e130de49c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 6 deletions

View file

@ -59,9 +59,9 @@ endif
$(BASE_CONFIGS):
@echo "Building target config $@"
$(V0) $(MAKE) -j hex CONFIG=$@
$(V0) $(MAKE) $(MAKE_PARALLEL) hex CONFIG=$@
@echo "Building target config $@ succeeded."
## <CONFIG>_rev : build configured target and add revision to filename
$(addsuffix _rev,$(BASE_CONFIGS)):
$(V0) $(MAKE) -j hex CONFIG=$(subst _rev,,$@) REV=yes
$(V0) $(MAKE) $(MAKE_PARALLEL) hex CONFIG=$(subst _rev,,$@) REV=yes