[coreboot] [commit] r5980 - trunk/util/superiotool

repository service svn at coreboot.org
Sun Oct 24 15:42:33 CEST 2010


Author: uwe
Date: Sun Oct 24 15:42:32 2010
New Revision: 5980
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5980

Log:
Update superiotool support for FreeBSD, Makefile fixes.

Signed-off-by: Idwer Vollering <vidwer at gmail.com>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>

Modified:
   trunk/util/superiotool/Makefile

Modified: trunk/util/superiotool/Makefile
==============================================================================
--- trunk/util/superiotool/Makefile	Sun Oct 24 14:43:41 2010	(r5979)
+++ trunk/util/superiotool/Makefile	Sun Oct 24 15:42:32 2010	(r5980)
@@ -39,6 +39,13 @@
 ifeq ($(OS_ARCH), Darwin)
 LIBS = -framework IOKit -framework DirectIO -lpci -lz
 endif
+ifeq ($(OS_ARCH), FreeBSD)
+CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
+         -Werror-implicit-function-declaration -ansi $(SVNDEF) \
+         -I/usr/local/include
+LDFLAGS += -L/usr/local/lib
+LIBS = -lz
+endif
 
 # Support for PCI-attached "Super I/Os" (e.g. in VIA VT82686A/B).
 CONFIG_PCI = yes




More information about the coreboot mailing list