mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
sim: Fix ostest build on macOS
On some platforms like macOS, we can't create an empty archive.
This commit is contained in:
committed by
Alin Jerpelea
parent
cc90d586c0
commit
b879b9b908
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user