mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
serial: Add Darwin/macOS support for custom and >230400 baudrates
This change is based on the patch proposed by Denis Ahrens in https://review.coreboot.org/c/flashrom/+/67822 Change-Id: I3e6b88d2b4c2a130b16456752681fd9f807bf6f0 Signed-off-by: Peter Stuge <peter@stuge.se> Reviewed-on: https://review.coreboot.org/c/flashrom/+/70571 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
This commit is contained in:

committed by
Thomas Heijligen

parent
cd84b8de76
commit
03c36be3b6
4
Makefile
4
Makefile
@ -844,9 +844,13 @@ LIB_OBJS += serial.o
|
||||
ifeq ($(TARGET_OS), Linux)
|
||||
LIB_OBJS += custom_baud_linux.o
|
||||
else
|
||||
ifeq ($(TARGET_OS), Darwin)
|
||||
LIB_OBJS += custom_baud_darwin.o
|
||||
else
|
||||
LIB_OBJS += custom_baud.o
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
USE_SOCKETS := $(if $(call filter_deps,$(DEPENDS_ON_SOCKETS)),yes,no)
|
||||
ifeq ($(USE_SOCKETS), yes)
|
||||
|
Reference in New Issue
Block a user