On 8/17/09 5:59 PM, Carl-Daniel Hailfinger wrote:
Fix compilation on Nexenta which is Ubuntu with a Solaris kernel.
This is 0.9.1 material.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Index: flashrom-nexenta/Makefile
--- flashrom-nexenta/Makefile (Revision 684) +++ flashrom-nexenta/Makefile (Arbeitskopie) @@ -70,7 +70,10 @@ ifeq ($(CONFIG_SERPROG), yes) FEATURE_CFLAGS += -D'SERPROG_SUPPORT=1' OBJS += serprog.o +ifeq ($(OS_ARCH), SunOS) +LIBS += -lsocket endif +endif
A site note... is it possible to use "$(OS)" instead of "$(OS_ARCH)" on SunOS? $(OS) is set by (GNU?) make
Acked-by: Stefan Reinauer stepan@coresystems.de