diff options
Diffstat (limited to 'common/build.mk')
-rw-r--r-- | common/build.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/build.mk b/common/build.mk index 0ed708347c..02c08ac8ff 100644 --- a/common/build.mk +++ b/common/build.mk @@ -256,7 +256,9 @@ $(out)/cryptoc/libcryptoc.a: $(MAKE) obj=$(realpath $(out))/cryptoc SUPPORT_UNALIGNED=1 \ CONFIG_UPTO_SHA512=$(CONFIG_UPTO_SHA512) -C $(CRYPTOCLIB) -# Link RW against cryptoc. +# Link RO and RW against cryptoc. +$(out)/RO/ec.RO.elf $(out)/RO/ec.RO_B.elf: LDFLAGS_EXTRA += $(CRYPTOC_LDFLAGS) +$(out)/RO/ec.RO.elf $(out)/RO/ec.RO_B.elf: $(out)/cryptoc/libcryptoc.a $(out)/RW/ec.RW.elf $(out)/RW/ec.RW_B.elf: LDFLAGS_EXTRA += $(CRYPTOC_LDFLAGS) $(out)/RW/ec.RW.elf $(out)/RW/ec.RW_B.elf: $(out)/cryptoc/libcryptoc.a # Host test executables (including fuzz tests). |