mirror of
https://github.com/apache/nuttx.git
synced 2026-08-25 07:27:11 +00:00
sim: Fix ostest build on macOS
On some platforms like macOS, we can't create an empty archive.
This commit is contained in:
parent
cc90d586c0
commit
b879b9b908
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
0
boards/sim/sim/sim/src/dummy.c
Normal file
0
boards/sim/sim/sim/src/dummy.c
Normal file
Loading…
Add table
Add a link
Reference in a new issue