Skip to content

Commit 405e965

Browse files
committed
Remove dice.o from non-tz targets
1 parent ca22d72 commit 405e965

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ OBJS:= \
3434
./src/string.o \
3535
./src/image.o \
3636
./src/libwolfboot.o \
37-
./src/dice/dice.o \
3837
./hal/hal.o
3938

39+
ifeq ($(WOLFCRYPT_TZ),1)
40+
OBJS+=./src/dice/dice.o
41+
endif
42+
4043
ifneq ($(TARGET),library)
4144
OBJS+=./hal/$(TARGET).o
4245
endif

0 commit comments

Comments
 (0)