mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
Fix compilation on Nexenta which is Ubuntu with a Solaris kernel
Corresponding to flashrom svn r686. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
This commit is contained in:
3
Makefile
3
Makefile
@ -70,6 +70,9 @@ CONFIG_SERPROG = yes
|
||||
ifeq ($(CONFIG_SERPROG), yes)
|
||||
FEATURE_CFLAGS += -D'SERPROG_SUPPORT=1'
|
||||
OBJS += serprog.o
|
||||
ifeq ($(OS_ARCH), SunOS)
|
||||
LIBS += -lsocket
|
||||
endif
|
||||
endif
|
||||
|
||||
FEATURE_CFLAGS += $(shell LC_ALL=C grep -q "FTDISUPPORT := yes" .features && printf "%s" "-D'FT2232_SPI_SUPPORT=1'")
|
||||
|
Reference in New Issue
Block a user