summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-12-18 16:22:16 +0800
committerCommit Bot <commit-bot@chromium.org>2020-01-10 13:15:28 +0000
commitffcc2c5daa9032a21b80daf13fba2fc4ab5f8fd1 (patch)
tree8f536900680e618afec11cdab5fefa806e99574c
parent400c1b75b9eee97ee2484ae7ba801fe852c7b828 (diff)
downloadvboot-ffcc2c5daa9032a21b80daf13fba2fc4ab5f8fd1.tar.gz
vboot: apply UNROLL_LOOPS globally rather than to fwlibs
Unrolled loops for everyone! BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: I22f0950be2aebcee7a988618f7b6a5ee3796de14 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1973673 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d368e60f..28b6460b 100644
--- a/Makefile
+++ b/Makefile
@@ -890,10 +890,7 @@ ${TLCL_OBJS}: CFLAGS += -DTPM_BLOCKING_CONTINUESELFTEST
ifneq ($(filter-out 0,$(UNROLL_LOOPS)),)
$(info vboot hash algos built with unrolled loops (faster, larger code size))
-${FWLIB_OBJS}: CFLAGS += -DUNROLL_LOOPS
-${FWLIB2X_OBJS}: CFLAGS += -DUNROLL_LOOPS
-${FWLIB20_OBJS}: CFLAGS += -DUNROLL_LOOPS
-${FWLIB21_OBJS}: CFLAGS += -DUNROLL_LOOPS
+CFLAGS += -DUNROLL_LOOPS
else
$(info vboot hash algos built with tight loops (slower, smaller code size))
endif