diff options
author | Tom Hughes <tomhughes@chromium.org> | 2020-09-22 11:03:23 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-26 19:29:14 +0000 |
commit | 85554f0a843daa1c85ba252c7a27a389968d347b (patch) | |
tree | 0a7a1d616b6991a58a0f1d233908089d449d573f /third_party | |
parent | 1f28adcc8189bcc52fad68f58c74e5e8f45c6853 (diff) | |
download | chrome-ec-85554f0a843daa1c85ba252c7a27a389968d347b.tar.gz |
common: replace safe_memcmp with cryptoc version
We now have to always link against cryptoc, but it does not increase
code size on our most constrained boards:
Before and after both show:
Smallest free spaces in RO flash (bytes):
pdeval-stm32f072: 88
servo_v4 : 104
fusb307bgevb: 156
Smallest free spaces in RW flash (bytes):
volteer : 516
bobba : 712
meep : 716
Tightest boards' RW RAM images, bytes free:
whiskers : 212
minimuffin: 284
zinger : 284
BRANCH=none
BUG=b:169156874
TEST=make buildall
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I98422eccb3e903bd82ddb386087dd2d55d1f845e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2424068
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/rules.mk | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/third_party/rules.mk b/third_party/rules.mk index eb4391b70c..38ebcf8d3f 100644 --- a/third_party/rules.mk +++ b/third_party/rules.mk @@ -9,7 +9,6 @@ # Build and link against libcryptoc. # See https://chromium.googlesource.com/chromiumos/third_party/cryptoc . -ifeq ($(CONFIG_LIBCRYPTOC),y) # The cryptoc path can be overridden on invocation, as in the following example: # $ make CRYPTOC_DIR=~/src/cryptoc BOARD=bloonchipper @@ -53,5 +52,3 @@ test-targets=$(foreach test,$(test-list-y),\ $(out)/RW/$(test).RW.elf $(out)/RO/$(test).RO.elf) $(test-targets): LDFLAGS_EXTRA += $(CRYPTOC_LDFLAGS) $(test-targets): $(out)/cryptoc/libcryptoc.a - -endif # CONFIG_LIBCRYPTOC |