add back requires for parellel build

master
Willem Melching 2021-04-01 16:36:47 +02:00
parent 27b4b57566
commit 0716851508
1 changed files with 2 additions and 0 deletions

View File

@ -148,11 +148,13 @@ startup = panda_env.Object(STARTUP_FILE)
crypto = ["../crypto/rsa.c", "../crypto/sha.c"]
bootstub_elf = panda_env.Program(f"obj/bootstub.{PROJECT}.elf", [startup] + crypto + ["bootstub.c"])
bootstub_bin = panda_env.Objcopy(f"obj/bootstub.{PROJECT}.bin", bootstub_elf)
Requires(bootstub_elf, gitversion)
# Build main
main_elf = panda_env.Program(f"obj/{PROJECT}.elf", [startup, MAIN],
LINKFLAGS=["-Wl,--section-start,.isr_vector=0x8004000"] + flags)
main_bin = panda_env.Objcopy(f"obj/{PROJECT}.bin", main_elf)
Requires(main_elf, gitversion)
# Sign main
sign_py = File("../crypto/sign.py").srcnode().abspath