diff options
author | Idwer Vollering <vidwer@gmail.com> | 2010-10-24 13:50:13 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-10-24 13:50:13 +0000 |
commit | 3f91d813efe80045e322f7c6a767b403911b8a1c (patch) | |
tree | cbea61250d626d907b2e84951cd16e2dfaa32f82 /util/inteltool/Makefile | |
parent | a4d77dc74d6500e651a6d4e477f9d499915cac7f (diff) |
Add inteltool support for FreeBSD.
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Acked-by Stefan Reinauer <stepan@coreboot.org>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5981 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/inteltool/Makefile')
-rw-r--r-- | util/inteltool/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/inteltool/Makefile b/util/inteltool/Makefile index 3850682e5f..c6894c0afd 100644 --- a/util/inteltool/Makefile +++ b/util/inteltool/Makefile @@ -33,6 +33,11 @@ OS_ARCH = $(shell uname) ifeq ($(OS_ARCH), Darwin) LDFLAGS = -framework DirectIO -lpci -lz endif +ifeq ($(OS_ARCH), FreeBSD) +CFLAGS += -I/usr/local/include +LDFLAGS += -L/usr/local/lib +LIBS = -lz +endif all: pciutils dep $(PROGRAM) |