sim: Fix ostest build on macOS

On some platforms like macOS, we can't create an empty archive.
This commit is contained in:
YAMAMOTO Takashi 2020-01-29 13:57:05 +09:00 committed by Alin Jerpelea
parent cc90d586c0
commit b879b9b908
2 changed files with 3 additions and 1 deletions

View File

@ -35,8 +35,10 @@
include $(TOPDIR)/Make.defs
# Add dummy.c to ensure that we have at least one object.
# On some platforms like macOS, we can't create an empty archive.
ASRCS =
CSRCS =
CSRCS = dummy.c
ifeq ($(CONFIG_BOARD_LATE_INITIALIZE),y)
CSRCS += sim_boot.c

View File