diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-08-17 16:30:53 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-08-17 16:30:53 +0000 |
commit | 10572fa08ae7819f06a087e89da6e1611beb7d46 (patch) | |
tree | 57b2a38fe31dbecd0d499f68b098b35ab11a69c7 /Makefile | |
parent | 4449868623f931dea63b7b552436dd5fc681429e (diff) | |
download | ast2050-flashrom-10572fa08ae7819f06a087e89da6e1611beb7d46.zip ast2050-flashrom-10572fa08ae7819f06a087e89da6e1611beb7d46.tar.gz |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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'") |