diff options
author | Idwer Vollering <vidwer@gmail.com> | 2010-10-24 13:42:32 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-10-24 13:42:32 +0000 |
commit | a4d77dc74d6500e651a6d4e477f9d499915cac7f (patch) | |
tree | 7fa03791418ea4ea167ccebcbf4e657a7a9bb2c2 | |
parent | d74c7748aaad02668eb1efeb0cf4b165fd73d42f (diff) |
Update superiotool support for FreeBSD, Makefile fixes.
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5980 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/superiotool/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile index 862a7a6416..566388ba31 100644 --- a/util/superiotool/Makefile +++ b/util/superiotool/Makefile @@ -39,6 +39,13 @@ OS_ARCH = $(shell uname) 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 |