mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
custom_baud: move Linux specific code into own file
Handle system specific code in an own file like i2c_helper_linux.c. The build system decides when to build it. Change-Id: I0744e769dcc6000483e7256105903a87e927ee77 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/57990 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
5a8b0773dd
commit
29ff205e6f
7
Makefile
7
Makefile
@ -750,7 +750,12 @@ FEATURE_CFLAGS += -D'CONFIG_I2C_SUPPORT=1'
|
||||
endif
|
||||
|
||||
ifneq ($(NEED_SERIAL), )
|
||||
LIB_OBJS += serial.o custom_baud.o
|
||||
LIB_OBJS += serial.o
|
||||
ifeq ($(TARGET_OS), Linux)
|
||||
LIB_OBJS += custom_baud_linux.o
|
||||
else
|
||||
LIB_OBJS += custom_baud.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(NEED_POSIX_SOCKETS), )
|
||||
|
Reference in New Issue
Block a user