[flashrom] [PATCH] Fix compilation on Nexenta (Ubuntu/Solaris)

Stefan Reinauer stepan at coresystems.de
Mon Aug 17 18:16:33 CEST 2009


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 at 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 at coresystems.de>




-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the flashrom mailing list