diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -863,12 +863,14 @@ ${TLCL_OBJS}: CFLAGS += -DTPM_BLOCKING_CONTINUESELFTEST # CFLAGS += -DTPM_MANUAL_SELFTEST -ifneq ($(filter $(FIRMWARE_ARCH),x86 x86_64),) -# Unrolling loops in cryptolib makes it faster +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 +else +$(info vboot hash algos built with tight loops (slower, smaller code size)) endif ${FWLIB21_OBJS}: INCLUDES += -Ifirmware/lib21/include |