mirror of
https://github.com/micropython/micropython.git
synced 2026-01-09 13:40:31 +01:00
alif/Makefile: Enable job server support on Ubuntu LTS.
This commit modifies the Alif port's Makefile to propagate to child make
tasks the number of parallel jobs to run.
On Ubuntu LTS 24.04, building the Alif port passing a parallel jobs
number to make's command line will result in the command emitting this
warning:
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent
make rule.
And building the two cores' firmware images using one compile job at a
time instead of the number provided to the command line.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
This commit is contained in:
committed by
Damien George
parent
678dbd26f8
commit
2554e4172f
@@ -82,10 +82,10 @@ $(BUILD):
|
||||
$(MKDIR) -p $@
|
||||
|
||||
$(BUILD)/M55_HP/firmware.bin:
|
||||
make -f alif.mk BUILD=$(BUILD)/M55_HP MCU_CORE=M55_HP MICROPY_PY_OPENAMP_MODE=0
|
||||
$(MAKE) -f alif.mk BUILD=$(BUILD)/M55_HP MCU_CORE=M55_HP MICROPY_PY_OPENAMP_MODE=0
|
||||
|
||||
$(BUILD)/M55_HE/firmware.bin:
|
||||
make -f alif.mk BUILD=$(BUILD)/M55_HE MCU_CORE=M55_HE MICROPY_PY_OPENAMP_MODE=1
|
||||
$(MAKE) -f alif.mk BUILD=$(BUILD)/M55_HE MCU_CORE=M55_HE MICROPY_PY_OPENAMP_MODE=1
|
||||
|
||||
$(BUILD)/$(ALIF_TOC_CONFIG): mcu/$(ALIF_TOC_CONFIG).in | $(BUILD)
|
||||
$(ECHO) "Preprocess toc config $@"
|
||||
|
||||
Reference in New Issue
Block a user